Skip to content
Snippets Groups Projects
Commit aeae5df4 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

verbose is now on when it is set to True in the config file

parent 560f0665
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ import common.logger ...@@ -24,7 +24,7 @@ import common.logger
version = '0.7.1' version = '0.7.1'
config = common.config.Config() config = common.config.Config()
connections = {} connections = {}
verbose = config.get('verbose') verbose = False
h = logging.StreamHandler() h = logging.StreamHandler()
f = logging.Formatter('%(asctime)s %(name)s: %(message)s', '%d %b %Y %H:%M:%S') f = logging.Formatter('%(asctime)s %(name)s: %(message)s', '%d %b %Y %H:%M:%S')
......
...@@ -708,6 +708,7 @@ class Interface: ...@@ -708,6 +708,7 @@ class Interface:
'statusmsgcolor': gajim.config.get('statusmsgcolor'), 'statusmsgcolor': gajim.config.get('statusmsgcolor'),
} }
parser.read() parser.read()
gajim.verbose = gajim.config.get('verbose')
if gajim.verbose: if gajim.verbose:
gajim.log.setLevel(gajim.logging.DEBUG) gajim.log.setLevel(gajim.logging.DEBUG)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment