forked from ScoDoc/ScoDoc
Réduit niveau log: INFO
This commit is contained in:
parent
75a1ec78fb
commit
2bfbaa3a2a
@ -204,7 +204,7 @@ class ReverseProxied(object):
|
|||||||
def create_app(config_class=DevConfig):
|
def create_app(config_class=DevConfig):
|
||||||
app = Flask(__name__, static_url_path="/ScoDoc/static", static_folder="static")
|
app = Flask(__name__, static_url_path="/ScoDoc/static", static_folder="static")
|
||||||
app.wsgi_app = ReverseProxied(app.wsgi_app)
|
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
|
# Evite de logguer toutes les requetes dans notre log
|
||||||
logging.getLogger("werkzeug").disabled = True
|
logging.getLogger("werkzeug").disabled = True
|
||||||
|
Loading…
Reference in New Issue
Block a user