[PR #10860] [MERGED] feat: add audit logging feature #38237

Closed
opened 2026-04-25 11:20:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/10860
Author: @tjbck
Created: 2/27/2025
Status: Merged
Merged: 2/27/2025
Merged by: @tjbck

Base: devHead: audit-log-dev


📝 Commits (3)

  • 39c6ecb feat: add audit logger middleware and custom logger using loguru
  • 76e90d9 Merge pull request #10436 from victorstevansuse/feat/audits
  • 2d379cb chore: pyproject

📊 Changes

6 files changed (+437 additions, -0 deletions)

View changed files

📝 backend/open_webui/env.py (+22 -0)
📝 backend/open_webui/main.py (+20 -0)
backend/open_webui/utils/audit.py (+249 -0)
backend/open_webui/utils/logger.py (+140 -0)
📝 backend/requirements.txt (+3 -0)
📝 pyproject.toml (+3 -0)

📄 Description

#10436


🔄 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/10860 **Author:** [@tjbck](https://github.com/tjbck) **Created:** 2/27/2025 **Status:** ✅ Merged **Merged:** 2/27/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `audit-log-dev` --- ### 📝 Commits (3) - [`39c6ecb`](https://github.com/open-webui/open-webui/commit/39c6ecb50d79111048fef7710edd935a6b98aea4) feat: add audit logger middleware and custom logger using loguru - [`76e90d9`](https://github.com/open-webui/open-webui/commit/76e90d9f3f47b4ef6b824fcc1e925b51b417d46e) Merge pull request #10436 from victorstevansuse/feat/audits - [`2d379cb`](https://github.com/open-webui/open-webui/commit/2d379cb35f571956e9dce50733f5618958de75a4) chore: pyproject ### 📊 Changes **6 files changed** (+437 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/env.py` (+22 -0) 📝 `backend/open_webui/main.py` (+20 -0) ➕ `backend/open_webui/utils/audit.py` (+249 -0) ➕ `backend/open_webui/utils/logger.py` (+140 -0) 📝 `backend/requirements.txt` (+3 -0) 📝 `pyproject.toml` (+3 -0) </details> ### 📄 Description #10436 --- <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-04-25 11:20:31 -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#38237