langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
50.14k stars 7.18k forks source link

Ability to control logs. #9747

Open Yusaney opened 1 week ago

Yusaney commented 1 week ago

Self Checks

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I have some intensive workflows that run many times a day (some translate without LLM, and some run an LLM vision). I have configured my Tracing backend, so I don't need the logs in Dify for anything. However, storing each log in Dify causes a very high memory usage in my Dify instance.

Captura de pantalla 2024-10-23 185142

It would be great to completely disable logs for a conversation/workflow or set up a deletion period after its execution to keep healthy and fresh log files, but deleting old files (prune)

Thanks.

2. Additional context or comments

No response

3. Can you help us with this feature?

JVini0166 commented 6 days ago

I was searching for something like that, it's not good to store millions of conversations without deleting