enable nbxmpp logging when using -v

This commit is contained in:
Yann Leboulanger 2013-05-16 21:06:41 +02:00
parent 76cfe43e92
commit dea17edf4e
1 changed files with 2 additions and 0 deletions

View File

@ -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