How to resolve the issue where the time zone in Docker Dify is inconsistent with the local time? #16573
Replies: 2 comments 2 replies
-
To resolve the issue where the time zone in Docker Dify is inconsistent with the local time, you can modify the LOG_TZ: ${LOG_TZ:-America/New_York} Additionally, ensure that the application is restarted after making these changes so that the new time zone setting takes effect. This will help align the application log timestamps with your local time [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
I have changed the .env to LOG_TZ=${LOG_TZ:-Asia/Shanghai} |
Beta Was this translation helpful? Give feedback.
-
Self Checks
Dify version
1.0.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
How to resolve the issue where the time zone in Docker Dify is inconsistent with the local time?
When checking the application logs, the timestamps are 12 hours behind the local time.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
Beta Was this translation helpful? Give feedback.
All reactions