mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-07 08:27:05 +00:00
fix: correct ENABLE_AUDIT_STDOUT stdout filter (#21777)
This commit is contained in:
parent
6ab452a452
commit
140ab270af
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue