mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 10:35:46 +03:00
Merge branch 'master' of git+ssh://github.com/matrix-org/synapse
This commit is contained in:
commit
6967e93f9c
1 changed files with 2 additions and 3 deletions
|
@ -88,9 +88,8 @@ def setup_logging(verbosity=0, filename=None, config_path=None):
|
||||||
'%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(message)s'
|
'%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(message)s'
|
||||||
)
|
)
|
||||||
|
|
||||||
if not verbosity or verbosity == 0:
|
level = logging.INFO
|
||||||
level = logging.INFO
|
if verbosity:
|
||||||
elif verbosity == 1:
|
|
||||||
level = logging.DEBUG
|
level = logging.DEBUG
|
||||||
|
|
||||||
# FIXME: we need a logging.WARN for a -q quiet option
|
# FIXME: we need a logging.WARN for a -q quiet option
|
||||||
|
|
Loading…
Reference in a new issue