Réduit niveau log: INFO

This commit is contained in:
Emmanuel Viennet 2022-07-11 18:17:39 +02:00
parent 75a1ec78fb
commit 2bfbaa3a2a

View File

@ -204,7 +204,7 @@ class ReverseProxied(object):
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)
app.logger.setLevel(logging.INFO)
# Evite de logguer toutes les requetes dans notre log
logging.getLogger("werkzeug").disabled = True