mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-05 19:17:56 -05:00
fix: correct ENABLE_AUDIT_STDOUT stdout filter (#21777)
This commit is contained in:
1 parent
6ab452a452
commit
140ab270af
1 file changed
+1
-1
@@ -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