Due to a scheduled upgrade to version 14.10, GitLab will be unavailabe on Monday 30.05., from 19:00 until 20:00.

Commit bc750cd2 authored by Lionel Walter's avatar Lionel Walter
Browse files

Use debug log level in development mode

parent cf45dde7
Pipeline #10490 passed with stages
in 8 minutes and 9 seconds
......@@ -17,12 +17,14 @@ from import_api_app.resources.ReadJobOptionsFromDrupal import ReadJobOptionsFrom
# from import_api_app.resources.HelmStart import HelmStart
# from import_api_app.resources.HelmStop import HelmStop
import os
import logging
def create_app(test_config=None):
app = Flask(__name__)
app.config.from_object(import_api_app.configuration)
if os.environ['FLASK_ENV'] == 'development':
app.logger.setLevel(logging.DEBUG)
# app.config.from_envvar('YOURAPPLICATION_SETTINGS')
# Based on this example :
......
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