set default debug level to info

This commit is contained in:
Davide Alberani 2016-04-19 23:08:23 +02:00
parent d5efd721d7
commit a2a0ede8d6

View file

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