Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to control logs. #9747

Closed
4 of 5 tasks
Yusaney opened this issue Oct 23, 2024 · 4 comments
Closed
4 of 5 tasks

Ability to control logs. #9747

Yusaney opened this issue Oct 23, 2024 · 4 comments
Assignees
Labels
💪 enhancement New feature or request

Comments

@Yusaney
Copy link

Yusaney commented Oct 23, 2024

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

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?

  • I am interested in contributing to this feature.
@dosubot dosubot bot added the 💪 enhancement New feature or request label Oct 23, 2024
@JVini0166
Copy link

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

@qkzsky
Copy link

qkzsky commented Nov 4, 2024

I am also encountering this issue, and I have been trying to clear the logs by deleting the app. However, after deleting the app, I noticed that the records in the workflow_app_log table did not decrease. I suggest adding a log retention period setting and a feature to clean up app logs. Thank you very much.

@Yusaney
Copy link
Author

Yusaney commented Nov 27, 2024

I'm still having issues with this. Hopefully, we'll get a fix soon. As the app keeps growing, I have hundreds of thousands of logs that I don't need.

@crazywoola
Copy link
Member

We have update the navigation component, I think you can try it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants