Add logger when starting to state that slapgrid is running.

parent c9beff40
......@@ -145,6 +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...')
runInstanceWithLock(app.config)
self.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