Commit c36c08cd authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

runner: intent to use flask logger

parent 8f0a2b3c
...@@ -126,7 +126,8 @@ def serve(config): ...@@ -126,7 +126,8 @@ def serve(config):
if not os.path.exists(software_link): if not os.path.exists(software_link):
os.mkdir(software_link) os.mkdir(software_link)
setHandler() setHandler()
config.logger.info('Running slapgrid...') app.logger.addHandler(config.logger)
app.logger.info('Running slapgrid...')
if app.config['auto_deploy_instance'] in TRUE_VALUES: if app.config['auto_deploy_instance'] in TRUE_VALUES:
runInstanceWithLock(app.config) runInstanceWithLock(app.config)
config.logger.info('Done.') config.logger.info('Done.')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment