[GH-ISSUE #11982] issue: Remove the filter_functions in the log output #16425

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

Originally created by @platinhom on GitHub (Mar 23, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11982

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Pip Install

Open WebUI Version

0.5.20

Ollama Version (if applicable)

No response

Operating System

Ubuntu 22

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

In the log output, it will always say: filter_functions=[..........] when run the chat. I don't want to see it in the output since it's too long.

Actual Behavior

filter_functions=[..........] should be removed.

Steps to Reproduce

Just run the chat.

Logs & Screenshots

2025-03-19 09:52:16.297 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.1.55:52428 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
filter_functions=[]
2025-03-19 09:52:24.558 | INFO     | open_webui.routers.files:upload_file:42 - file.content_type: image/png - {}


# if using time_token_tracker function, it will be much longer.

Additional Information

It may cause by utils/middleware.py

Originally created by @platinhom on GitHub (Mar 23, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/11982 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Pip Install ### Open WebUI Version 0.5.20 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu 22 ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior In the log output, it will always say: `filter_functions=[..........]` when run the chat. I don't want to see it in the output since it's too long. ### Actual Behavior `filter_functions=[..........]` should be removed. ### Steps to Reproduce Just run the chat. ### Logs & Screenshots ``` 2025-03-19 09:52:16.297 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 192.168.1.55:52428 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {} filter_functions=[] 2025-03-19 09:52:24.558 | INFO | open_webui.routers.files:upload_file:42 - file.content_type: image/png - {} # if using time_token_tracker function, it will be much longer. ``` ### Additional Information It may cause by [utils/middleware.py](https://github.com/open-webui/open-webui/blob/b03fc97e287f31ad07bda896143959bc4413f7d2/backend/open_webui/utils/middleware.py#L1083)
GiteaMirror added the bug label 2026-04-19 22:21:10 -05:00
Author
Owner

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

Addressed with c714bd8739

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

No dependencies set.

Reference: github-starred/open-webui#16425