dify - 💡(How to fix) Fix Regarding the WORKFLOW_LOG_CLEANUP issue [6 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
langgenius/dify#35601Fetched 2026-04-28 06:50:37
View on GitHub
Comments
6
Participants
2
Timeline
7
Reactions
1
Timeline (top)
commented ×6labeled ×1
RAW_BUFFERClick to expand / collapse

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

V1.13.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

<img width="1316" height="792" alt="Image" src="https://github.com/user-attachments/assets/150442aa-78c6-4128-ab19-49a90883290c" /> <img width="1858" height="182" alt="Image" src="https://github.com/user-attachments/assets/d3015847-01e5-465d-9a80-d8b9f2c44558" />

<img width="1325" height="266" alt="Image" src="https://github.com/user-attachments/assets/335ff8c3-6814-435c-bce1-80c8b0a529c7" />I have set the parameters as shown in the above image, restarted all Dify applications, and set the container time to 2 AM. However, the logs of the Dify application do not only retain the last 3 days; how should I troubleshoot this?

✔️ Expected Behavior

<img width="1895" height="652" alt="Image" src="https://github.com/user-attachments/assets/d55fb1ea-cd8f-4e62-b9c6-b412fb0c36e0" />I hope to retain only the most recent 3 days of application log information based on the configuration parameters

❌ Actual Behavior

No response

extent analysis

TL;DR

Check the log retention configuration parameters and verify that the container time setting is correctly applied to ensure the desired log retention behavior.

Guidance

  • Review the provided images to confirm that the log retention parameters are set as intended, specifically the time range for retaining logs.
  • Verify that the container time setting of 2 AM is correctly applied and synchronized with the system clock to ensure accurate log retention.
  • Check the Dify application logs for any errors or warnings related to log retention or configuration issues.
  • Consider checking the Docker container configuration to ensure that the log retention settings are properly propagated to the container.

Notes

The issue lacks specific details about the log retention configuration and the expected behavior, making it challenging to provide a precise solution. However, verifying the configuration parameters and container time setting should help identify the root cause of the issue.

Recommendation

Apply workaround: Verify and adjust the log retention configuration parameters and container time setting to ensure correct log retention behavior, as the current configuration may not be correctly applied.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

dify - 💡(How to fix) Fix Regarding the WORKFLOW_LOG_CLEANUP issue [6 comments, 2 participants]