Make verbose logging less verbose
This commit is contained in:
parent
a6bda765eb
commit
a5cce0c749
|
@ -85,7 +85,7 @@ class GlobalEventsDispatcher(object):
|
|||
%(handler, priority, event_name, error))
|
||||
|
||||
def raise_event(self, event_name, *args, **kwargs):
|
||||
log.debug('%s\nArgs: %s'%(event_name, str(args)))
|
||||
log.debug('%s Args: %s'%(event_name, str(args)))
|
||||
if event_name in self.handlers:
|
||||
node_processed = False
|
||||
for priority, handler in self.handlers[event_name]:
|
||||
|
|
|
@ -161,8 +161,8 @@ def set_loglevels(loglevels_string):
|
|||
parseAndSetLogLevels(loglevels_string)
|
||||
|
||||
def set_verbose():
|
||||
parseAndSetLogLevels('gajim=1')
|
||||
parseAndSetLogLevels('.nbxmpp=1')
|
||||
parseAndSetLogLevels('gajim=DEBUG')
|
||||
parseAndSetLogLevels('.nbxmpp=INFO')
|
||||
|
||||
def set_quiet():
|
||||
parseAndSetLogLevels('gajim=CRITICAL')
|
||||
|
|
Loading…
Reference in New Issue