dify - 💡(How to fix) Fix Failed to clear the logs from WORKFLOW LOG_CEANUP

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…
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/d6383b82-4855-40eb-ac1c-6f9dfc4c3849" /> <img width="1858" height="182" alt="Image" src="https://github.com/user-attachments/assets/daa0f2b4-8ded-4d49-8e0a-dcfe81fba519" />

<img width="1325" height="266" alt="Image" src="https://github.com/user-attachments/assets/0a47453d-f16f-4925-bcf3-5772e5871628" />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?

<img width="1895" height="652" alt="Image" src="https://github.com/user-attachments/assets/b9b23097-deaf-4a5c-9609-946bf00c9da5" />

docker logs docker-worker_beat-1 2>&1 | grep -i "workflow"

<img width="1897" height="1057" alt="Image" src="https://github.com/user-attachments/assets/33c9fe4d-fd23-42af-baa2-5d32721d2377" />

✔️ Expected Behavior

I hope to retain only the most recent 3 days of application log information based on the configuration parameters

<img width="1895" height="652" alt="Image" src="https://github.com/user-attachments/assets/3e5c4f30-c8b3-4ce1-b877-4adecfafed82" />

❌ Actual Behavior

No response

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 Failed to clear the logs from WORKFLOW LOG_CEANUP