Changelog: Included below in Keep a Changelog style.
Testing: Manually verified the logger behavior for ENABLE_AUDIT_STDOUT=true/false.
Agentic AI Code: Changes were reviewed and tested manually.
Title Prefix:fix
Changelog Entry
Description
Fixes inverted stdout filter behavior for audit logs.
Added
None.
Changed
Adjusted stdout filter logic in backend/open_webui/utils/logger.py.
Deprecated
None.
Removed
None.
Fixed
ENABLE_AUDIT_STDOUT=true now includes audit logs on stdout as intended.
ENABLE_AUDIT_STDOUT=false continues to keep audit logs off stdout.
Security
None.
Breaking Changes
BREAKING CHANGE: None.
Additional Information
This aligns runtime behavior with the changelog entry about ENABLE_AUDIT_STDOUT and ENABLE_AUDIT_LOGS_FILE for container log collection.
Screenshots or Videos
N/A (backend logger filter fix).
Contributor License Agreement
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/21777
**Author:** [@jannikstdl](https://github.com/jannikstdl)
**Created:** 2/23/2026
**Status:** ✅ Merged
**Merged:** 2/23/2026
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `fix/audit-stdout`
---
### 📝 Commits (1)
- [`c0a457d`](https://github.com/open-webui/open-webui/commit/c0a457d5042d91944eda649ef621f754a9cb449e) 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
# Pull Request Checklist
- [x] **Target branch:** This PR targets `dev`.
- [x] **Description:** Added below.
- [x] **Changelog:** Included below in Keep a Changelog style.
- [x] **Testing:** Manually verified the logger behavior for `ENABLE_AUDIT_STDOUT=true/false`.
- [x] **Agentic AI Code:** Changes were reviewed and tested manually.
- [x] **Title Prefix:** `fix`
# Changelog Entry
### Description
- Fixes inverted stdout filter behavior for audit logs.
### Added
- None.
### Changed
- Adjusted stdout filter logic in `backend/open_webui/utils/logger.py`.
### Deprecated
- None.
### Removed
- None.
### Fixed
- `ENABLE_AUDIT_STDOUT=true` now includes audit logs on stdout as intended.
- `ENABLE_AUDIT_STDOUT=false` continues to keep audit logs off stdout.
### Security
- None.
### Breaking Changes
- **BREAKING CHANGE**: None.
---
### Additional Information
- This aligns runtime behavior with the changelog entry about `ENABLE_AUDIT_STDOUT` and `ENABLE_AUDIT_LOGS_FILE` for container log collection.
### Screenshots or Videos
- N/A (backend logger filter fix).
### Contributor License Agreement
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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/21777
Author: @jannikstdl
Created: 2/23/2026
Status: ✅ Merged
Merged: 2/23/2026
Merged by: @tjbck
Base:
dev← Head:fix/audit-stdout📝 Commits (1)
c0a457dfix: 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
Pull Request Checklist
dev.ENABLE_AUDIT_STDOUT=true/false.fixChangelog Entry
Description
Added
Changed
backend/open_webui/utils/logger.py.Deprecated
Removed
Fixed
ENABLE_AUDIT_STDOUT=truenow includes audit logs on stdout as intended.ENABLE_AUDIT_STDOUT=falsecontinues to keep audit logs off stdout.Security
Breaking Changes
Additional Information
ENABLE_AUDIT_STDOUTandENABLE_AUDIT_LOGS_FILEfor container log collection.Screenshots or Videos
Contributor License Agreement
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.