refac
This commit is contained in:
@@ -150,7 +150,7 @@ def start_logger():
|
||||
"""
|
||||
logger.remove()
|
||||
|
||||
audit_filter = lambda record: (True if ENABLE_AUDIT_STDOUT else 'auditable' not in record['extra'])
|
||||
audit_filter = lambda record: True if ENABLE_AUDIT_STDOUT else 'auditable' not in record['extra']
|
||||
if LOG_FORMAT == 'json':
|
||||
logger.add(
|
||||
_json_sink,
|
||||
|
||||
Reference in New Issue
Block a user