-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Feature Request: Configure json logging in the docker plugin section. #6563
Comments
Agreed, this would be very useful. @tgross is this something you'd be okay with adding? Ie basically move the defaults into the plugin config, so the user can override it. Or would dropping the default logging config and using whatever dockerd has configured also be an option? |
It seems reasonable on its face; I just took a quick look at where we set those values in That being said, we're not likely to get to this anytime in the immediate future. I'd be happy to review a PR that takes it on though! |
hashicorp#6563 For backwards-compat, defaults to the previous defaults.
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Currently Nomad overwrites the docker daemon logging configuration to
json-file with log rotation (max-file=2 and max-size=2m
and that can be changed within the job's config.I would like to be able to set the
json-file
configuration options within the docker plugin section on my clients and have it applied to all docker jobs.The text was updated successfully, but these errors were encountered: