enable nbxmpp logging when using -v
This commit is contained in:
parent
76cfe43e92
commit
dea17edf4e
|
@ -163,9 +163,11 @@ def set_loglevels(loglevels_string):
|
|||
|
||||
def set_verbose():
|
||||
parseAndSetLogLevels('gajim=1')
|
||||
parseAndSetLogLevels('.nbxmpp=1')
|
||||
|
||||
def set_quiet():
|
||||
parseAndSetLogLevels('gajim=CRITICAL')
|
||||
parseAndSetLogLevels('.nbxmpp=CRITICAL')
|
||||
|
||||
|
||||
# tests
|
||||
|
|
Loading…
Reference in New Issue