From ec9c70ba680795314c2af87169c4eabff934cc13 Mon Sep 17 00:00:00 2001 From: rr- Date: Thu, 2 Feb 2017 19:38:53 +0100 Subject: [PATCH] server/facade: disable elasticsearch logs Errors are covered by new safety mechanisms in image hash. --- server/szurubooru/facade.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/szurubooru/facade.py b/server/szurubooru/facade.py index 30e5836e..5aae121f 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']: