Commit bfd6ed8b authored by Marco Mariani's avatar Marco Mariani

fixed call to config.logger

parent e91dfff1
......@@ -145,8 +145,8 @@ def serve(config):
if not os.path.exists(software_link):
os.mkdir(software_link)
slapos.runner.process.setHandler()
self.logger.info('Running slapgrid...')
config.logger.info('Running slapgrid...')
runInstanceWithLock(app.config)
self.logger.info('Done.')
config.logger.info('Done.')
app.run(host=config.runner_host, port=int(config.runner_port),
debug=config.debug, threaded=True)
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