Disable log coming directly from Canister

This commit is contained in:
Lucas Verney 2018-01-17 20:24:08 +01:00
parent 80b0384d73
commit 82681c6c27

View File

@ -60,7 +60,7 @@ def get_app(config):
app = bottle.Bottle() app = bottle.Bottle()
app.install(DatabasePlugin(get_session)) app.install(DatabasePlugin(get_session))
app.install(ConfigPlugin(config)) app.install(ConfigPlugin(config))
app.config.setdefault("canister.log_level", logging.root.level) app.config.setdefault("canister.log_level", "DISABLED")
app.config.setdefault("canister.log_path", False) app.config.setdefault("canister.log_path", False)
app.config.setdefault("canister.debug", False) app.config.setdefault("canister.debug", False)
app.install(canister.Canister()) app.install(canister.Canister())