Merge pull request #104 from alberanid/master
always instantiate logger
This commit is contained in:
commit
3d50df046d
1 changed files with 2 additions and 3 deletions
|
@ -678,9 +678,8 @@ def run():
|
|||
callback=lambda path: tornado.options.parse_config_file(path, final=False))
|
||||
tornado.options.parse_command_line()
|
||||
|
||||
if options.debug:
|
||||
logger = logging.getLogger()
|
||||
logger.setLevel(logging.DEBUG)
|
||||
logger = logging.getLogger()
|
||||
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