[PR #21775] [CLOSED] fix: honor ENABLE_AUDIT_STDOUT for stdout audit logging #81143

Closed
opened 2026-05-13 15:28:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/21775
Author: @jannikstdl
Created: 2/23/2026
Status: Closed

Base: mainHead: fix/audit-stdout


📝 Commits (1)

  • d8d7e0e fix: correct ENABLE_AUDIT_STDOUT stdout filter

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 backend/open_webui/utils/logger.py (+1 -1)

📄 Description

ENABLE_AUDIT_STDOUT was effectively inverted in the stdout logger filter.

Expected: true should include audit logs on stdout.
Actual: true excluded auditable entries.

This change flips the condition so stdout behavior matches the changelog note about routing audit logs to container logs.

Reference: CHANGELOG.md entry about ENABLE_AUDIT_STDOUT and ENABLE_AUDIT_LOGS_FILE.

Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/21775 **Author:** [@jannikstdl](https://github.com/jannikstdl) **Created:** 2/23/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/audit-stdout` --- ### 📝 Commits (1) - [`d8d7e0e`](https://github.com/open-webui/open-webui/commit/d8d7e0ebec7bec8a7d16ec42cdffd90681869846) fix: correct ENABLE_AUDIT_STDOUT stdout filter ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/utils/logger.py` (+1 -1) </details> ### 📄 Description ENABLE_AUDIT_STDOUT was effectively inverted in the stdout logger filter. Expected: true should include audit logs on stdout. Actual: true excluded auditable entries. This change flips the condition so stdout behavior matches the changelog note about routing audit logs to container logs. Reference: CHANGELOG.md entry about ENABLE_AUDIT_STDOUT and ENABLE_AUDIT_LOGS_FILE. ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-13 15:28:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#81143