added basic logging

This commit is contained in:
Jan Friedli 2020-08-21 12:00:39 +02:00 committed by jfriedli
parent e8bd56b5b4
commit a768cf3227
2 changed files with 13 additions and 4 deletions

View file

@ -57,7 +57,7 @@ def create_app(test_config=None):
Swagger(app, template=template, config=swagger_config)
CORS(app, resources={r"/api/*": {"origins": utils.get_allow_origin_header_value()}})
app.logger.info('Matweb started')
return app