Skip to content
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

[Bug][Docker] docker logs -f command cannot keep outputting logs all the time #4897

Closed
chengshiwen opened this issue Feb 27, 2021 · 0 comments · Fixed by #4900
Closed

[Bug][Docker] docker logs -f command cannot keep outputting logs all the time #4897

chengshiwen opened this issue Feb 27, 2021 · 0 comments · Fixed by #4900
Labels
bug Something isn't working docker

Comments

@chengshiwen
Copy link
Member

chengshiwen commented Feb 27, 2021

**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior, for example:

  1. Run a dolphinscheduler by docker-compose up -d
  2. Run docker logs -f dolphinscheduler-master command
  3. Wait more than an hour
  4. See error: The logs outputed by docker logs -f dolphinscheduler-master are not changed, while the log file in the container contains more log contents by docker exec -it dolphinscheduler-master cat /opt/dolphinscheduler/logs/dolphinscheduler-master.log

Bug reason: Due to log rotation, the tail command cannot obtain a new rotation log

Expected behavior
Bug fixed

Screenshots
If applicable, add screenshots to help explain your problem.

Which version of Dolphin Scheduler:
-[1.3.x]
-[dev]

Additional context
Add any other context about the problem here.

Requirement or improvement

  • Please describe about your requirements or improvement suggestions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docker
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants