mirror of
https://github.com/open-webui/open-webui.git
synced 2026-02-24 04:00:31 +01:00
fix: correct ENABLE_AUDIT_STDOUT stdout filter (#21777)
This commit is contained in:
@@ -153,7 +153,7 @@ def start_logger():
|
||||
logger.remove()
|
||||
|
||||
audit_filter = lambda record: (
|
||||
"auditable" not in record["extra"] if ENABLE_AUDIT_STDOUT else True
|
||||
True if ENABLE_AUDIT_STDOUT else "auditable" not in record["extra"]
|
||||
)
|
||||
if LOG_FORMAT == "json":
|
||||
logger.add(
|
||||
|
||||
Reference in New Issue
Block a user