-
Notifications
You must be signed in to change notification settings - Fork 14k
Celery not starting correctly when LOG_FILE is empty #10555
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
Comments
Celery fails to start when the |
I'm confirming the same issue. |
可以在环境变量中修改LOG_FILE,临时解决 |
+1, this issue looks still here in 0.11.1 |
+1 |
FYI: If you don't need log file persistence and just want the worker container to start correctly, you can set the # ------------------------------
# Server Configuration
# ------------------------------
# The log level for the application.
# Supported values are `DEBUG`, `INFO`, `WARNING`, `ERROR`, `CRITICAL`
LOG_LEVEL=INFO
# Log file path
LOG_FILE=/app/logs/server.log
# Log file max size, the unit is MB
LOG_FILE_MAX_SIZE=20
# Log file max backup count
LOG_FILE_BACKUP_COUNT=5
# Log dateformat
LOG_DATEFORMAT=%Y-%m-%d %H:%M:%S |
Self Checks
Dify version
0.11.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Keep the LOG_FILE environment variable empty then run docker compose
✔️ Expected Behavior
Celery can starts successfully even the LOG_FILE is not set or empty.
❌ Actual Behavior
Celery cannot starts successfully even the LOG_FILE is not set or empty.
The text was updated successfully, but these errors were encountered: