diff --git a/app/__init__.py b/app/__init__.py index a1862aaa70..66c6effd1c 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -205,6 +205,10 @@ def create_app(config_class=DevConfig): app = Flask(__name__, static_url_path="/ScoDoc/static", static_folder="static") app.wsgi_app = ReverseProxied(app.wsgi_app) app.logger.setLevel(logging.DEBUG) + + # Evite de logguer toutes les requetes dans notre log + logging.getLogger("werkzeug").disabled = True + app.config.from_object(config_class) db.init_app(app)