[PR #10563] Fix: Set Celery LOG_File only when available, always log to console #26865

Closed
opened 2026-02-21 20:40:25 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/10563

State: closed
Merged: Yes


Checklist:

Important

Please review the checklist below before submitting your pull request.

  • Please open an issue before creating a PR or link to an existing issue
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

Description

Fix #10555
Regarding Celery, only set the LOG_FILE variable to Difyconfig when its available. Besides, always log output to the console.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Testing Instructions

Fix the code, rebuild worker image, run docker compose.

image
**Original Pull Request:** https://github.com/langgenius/dify/pull/10563 **State:** closed **Merged:** Yes --- # Checklist: > [!IMPORTANT] > Please review the checklist below before submitting your pull request. - [x] Please open an issue before creating a PR or link to an existing issue - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [ ] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods # Description Fix [#10555](https://github.com/langgenius/dify/issues/10555) Regarding Celery, only set the LOG_FILE variable to Difyconfig when its available. Besides, always log output to the console. ## Type of Change - [x] Bug fix (non-breaking change which fixes an issue) # Testing Instructions Fix the code, rebuild worker image, run docker compose. <img width="1108" alt="image" src="https://github.com/user-attachments/assets/53460202-ca40-4193-b546-9329facf2a9b">
yindo added the pull-request label 2026-02-21 20:40:25 -05:00
yindo closed this issue 2026-02-21 20:40:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#26865