Commit 4afdba28 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Merge branch 'dev' into 'master'

Make verbose logging less verbose

See merge request !19
parents 35142cf4 a5cce0c7
......@@ -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')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment