server/facade: disable elasticsearch logs

Errors are covered by new safety mechanisms in image hash.
This commit is contained in:
rr- 2017-02-02 19:38:53 +01:00
parent aa1faa3ccb
commit ec9c70ba68
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ def create_app():
''' Create a WSGI compatible App object. ''' ''' Create a WSGI compatible App object. '''
validate_config() validate_config()
coloredlogs.install(fmt='[%(asctime)-15s] %(name)s %(message)s') coloredlogs.install(fmt='[%(asctime)-15s] %(name)s %(message)s')
logging.getLogger('elasticsearch').disabled = True
if config.config['debug']: if config.config['debug']:
logging.getLogger('szurubooru').setLevel(logging.INFO) logging.getLogger('szurubooru').setLevel(logging.INFO)
if config.config['show_sql']: if config.config['show_sql']: