set default debug level to info
This commit is contained in:
parent
d5efd721d7
commit
a2a0ede8d6
1 changed files with 3 additions and 1 deletions
|
@ -679,7 +679,9 @@ def run():
|
|||
tornado.options.parse_command_line()
|
||||
|
||||
logger = logging.getLogger()
|
||||
logger.setLevel(logging.DEBUG)
|
||||
logger.setLevel(logging.INFO)
|
||||
if options.debug:
|
||||
logger.setLevel(logging.DEBUG)
|
||||
|
||||
# database backend connector
|
||||
db_connector = backend.EventManDB(url=options.mongo_url, dbName=options.db_name)
|
||||
|
|
Loading…
Reference in a new issue