Merge pull request #107 from alberanid/master

set default debug level to info
This commit is contained in:
Davide Alberani 2016-04-19 23:08:59 +02:00
commit 9e4bf145e7

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)