Disable message content from DEBUG Logs #3498

Closed
opened 2025-11-11 15:32:54 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @The-LittleTeapot on GitHub (Jan 30, 2025).

Hello,

I would like to bring this matter to attention, while it seems subtle it is proving to be a huge issue.

I'm trying to come up with a monitoring solution, the debug logs contain some metada such as user and chat id etc.

The problem is that they also contain the entire chat history as the message content. And this proves to be a huge problem when some users copy paste walls of text or have long winded conversations in a single chat session.

These logs become impossible to parse, they are split into several lines and just make it very difficult to process them.

We need a way to hide or remove the message contents from the logs.

(it would also be nice to get the response times, token etc in the logs aswell).

Originally created by @The-LittleTeapot on GitHub (Jan 30, 2025). Hello, I would like to bring this matter to attention, while it seems subtle it is proving to be a huge issue. I'm trying to come up with a monitoring solution, the debug logs contain some metada such as user and chat id etc. The problem is that they also contain the entire chat history as the message content. And this proves to be a huge problem when some users copy paste walls of text or have long winded conversations in a single chat session. These logs become impossible to parse, they are split into several lines and just make it very difficult to process them. We need a way to hide or remove the message contents from the logs. (it would also be nice to get the response times, token etc in the logs aswell).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3498