-
Notifications
You must be signed in to change notification settings - Fork 189
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
[docs-only] add log rotation to deploy examples #1377
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
Do we really want to you the json driver instead of the local driver? |
Ok, switched to local driver. This has already log rotation enabled as default, so no need anymore fore the annoying yaml pointers to deduplicate config. I wonder if we should leave it up to the docker host to configure the default logging driver properly (with log rotation)? But I worry that some people will not do this and having this configuration doesn't any harm. So I feel that we should add this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool 👍
@C0rby just ran into this: docker/compose#7420. Should be fixed with docker-compose 1.27.0 and up. |
Description
This PR adds log rotation for Docker logs to our deployment examples. This is helpful to prevent endless log accumulation on our (not yet available) test servers and failures which are caused by this.
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: