verbose is now on when it is set to True in the config file
This commit is contained in:
parent
560f0665f8
commit
aeae5df459
|
@ -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:
|
||||||
'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)
|
||||||
|
|
Loading…
Reference in New Issue