Only log listModification request in verbose mode
This commit is contained in:
parent
64199c7ded
commit
066f54f521
1 changed files with 6 additions and 4 deletions
|
@ -345,10 +345,12 @@ class Site(object):
|
||||||
|
|
||||||
if since is None: # No since defined, download from last modification time-1day
|
if since is None: # No since defined, download from last modification time-1day
|
||||||
since = self.settings.get("modified", 60 * 60 * 24) - 60 * 60 * 24
|
since = self.settings.get("modified", 60 * 60 * 24) - 60 * 60 * 24
|
||||||
self.log.debug(
|
|
||||||
"Try to get listModifications from peers: %s, connected: %s, since: %s" %
|
if config.verbose:
|
||||||
(peers_try, peers_connected_num, since)
|
self.log.debug(
|
||||||
)
|
"Try to get listModifications from peers: %s, connected: %s, since: %s" %
|
||||||
|
(peers_try, peers_connected_num, since)
|
||||||
|
)
|
||||||
|
|
||||||
updaters = []
|
updaters = []
|
||||||
for i in range(3):
|
for i in range(3):
|
||||||
|
|
Loading…
Reference in a new issue