aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrr-2017-02-02 19:38:53 +0100
committerrr-2017-02-02 19:46:03 +0100
commitec9c70ba680795314c2af87169c4eabff934cc13 (patch)
tree736aff1f399269f8202fca6c1a1c3cc718b9c605
parentaa1faa3ccbfbe8b5ee691a113aa52bce7e28ebba (diff)
server/facade: disable elasticsearch logs
Errors are covered by new safety mechanisms in image hash.
-rw-r--r--server/szurubooru/facade.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/szurubooru/facade.py b/server/szurubooru/facade.py
index 30e5836..5aae121 100644
--- a/server/szurubooru/facade.py
+++ b/server/szurubooru/facade.py
@@ -101,6 +101,7 @@ def create_app():
''' Create a WSGI compatible App object. '''
validate_config()
coloredlogs.install(fmt='[%(asctime)-15s] %(name)s %(message)s')
+ logging.getLogger('elasticsearch').disabled = True
if config.config['debug']:
logging.getLogger('szurubooru').setLevel(logging.INFO)
if config.config['show_sql']:

© 2015 - 2026 Jakob L. Kreuze