better logging
This commit is contained in:
parent
99777a78e7
commit
9d1603cfb2
2 changed files with 1 additions and 2 deletions
|
@ -142,7 +142,7 @@ class LocalNodes(dict):
|
|||
for key, value in info.properties.items():
|
||||
key = key.decode()
|
||||
self[id][key] = value.decode()
|
||||
logger.debug('add: %s', self[id])
|
||||
logger.debug('add: %s [%s] (%s:%s)', self[id].get('username', 'anon'), id, self[id]['host'], self[id]['port'])
|
||||
if state.tasks:
|
||||
state.tasks.queue('addlocalinfo', self[id])
|
||||
elif state_change is ServiceStateChange.Removed:
|
||||
|
|
|
@ -190,7 +190,6 @@ class Tor(object):
|
|||
self.connected = False
|
||||
|
||||
def publish(self):
|
||||
logger.debug("publish tor node")
|
||||
if not self.connected:
|
||||
return False
|
||||
controller = self.controller
|
||||
|
|
Loading…
Reference in a new issue