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,6 +679,8 @@ def run():
tornado.options.parse_command_line()
logger = logging.getLogger()
logger.setLevel(logging.INFO)
if options.debug:
logger.setLevel(logging.DEBUG)
# database backend connector