[GH-ISSUE #12233] feat: Stop logging UserValves as "INFO" level #16519

Closed
opened 2026-04-19 22:25:26 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @mijovicmia on GitHub (Mar 31, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12233

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

Right now, the tool config containing UserValves info is logged here.
That means that for tools which use user-supplied API token (like Jira and Confluence search) these user tokens are being logged as part of the valves.

Desired Solution you'd like

Add the ability to turn the logging of tools config on/off.

Alternatives Considered

User valves can be completely removed from tools config when logging to avoid leaking any sensitive information.

Alternatively, logging level can be reduced to DEBUG.

Additional Context

No response

Originally created by @mijovicmia on GitHub (Mar 31, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/12233 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description Right now, the tool config containing UserValves info is logged [here](https://github.com/open-webui/open-webui/blob/main/backend/open_webui/utils/middleware.py#L785). That means that for tools which use user-supplied API token (like Jira and Confluence search) these user tokens are being logged as part of the valves. ### Desired Solution you'd like Add the ability to turn the logging of tools config on/off. ### Alternatives Considered User valves can be completely removed from tools config when logging to avoid leaking any sensitive information. Alternatively, logging level can be reduced to DEBUG. ### Additional Context _No response_
Author
Owner

@tjbck commented on GitHub (Mar 31, 2025):

Addressed with fac848ad33

<!-- gh-comment-id:2767387829 --> @tjbck commented on GitHub (Mar 31, 2025): Addressed with fac848ad333e11485ac7ecb3a3a1cd67b87ab964
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16519