forked from ScoDoc/DocScoDoc
Modif config log: moins verbeux, evite requetes ordinaires
This commit is contained in:
parent
6f842dc877
commit
f546837821
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user