~dobey/ubuntuone-client/prefs-sync-status

« back to all changes in this revision

Viewing changes to ubuntuone/syncdaemon/action_queue.py

  • Committer: Tarmac
  • Author(s): natalia.bidart at canonical
  • Date: 2010-03-18 16:59:12 UTC
  • mfrom: (436.1.3 remove-so-many-debugs)
  • Revision ID: dobey@wayofthemonkey.com-20100318165912-cv3e1pradly0kj42
Tweak a bit debug messages for Local/Server Rescan.

Show diffs side-by-side

added added

removed removed

Lines of Context:
992
992
        data = data_gen()
993
993
        logger.info("Server rescan: will query %d objects", len(data))
994
994
        # we check we're going to actually log, because this could be expensive
995
 
        if logger.isEnabledFor(logging.DEBUG):
 
995
        if logger.isEnabledFor(TRACE):
996
996
            for share, node, hash in data:
997
 
                logger.debug("Server rescan: share: %r, node: %r, hash: %s",
 
997
                logger.trace("Server rescan: share: %r, node: %r, hash: %s",
998
998
                             share or '/root/', node, hash)
999
 
            logger.debug("Server rescan: all data shown")
 
999
            logger.trace("Server rescan: all data shown")
1000
1000
        yield client.query(data)
1001
1001
        if client is not self.client:
1002
1002
            return