server/facade: disable elasticsearch logs
Errors are covered by new safety mechanisms in image hash.
This commit is contained in:
parent
aa1faa3ccb
commit
ec9c70ba68
|
@ -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']:
|
||||
|
|
Loading…
Reference in New Issue