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

Plugins use parent loggers #5173

Merged
merged 5 commits into from
Jan 15, 2019
Merged

Plugins use parent loggers #5173

merged 5 commits into from
Jan 15, 2019

Conversation

dadgar
Copy link
Contributor

@dadgar dadgar commented Jan 9, 2019

This PR fixes various instances of plugins being launched without using
the parent loggers. This meant that logs would not all go to the same
output, break formatting etc.

Fixes #4575

@dadgar dadgar requested a review from nickethier January 9, 2019 23:08
This PR fixes various instances of plugins being launched without using
the parent loggers. This meant that logs would not all go to the same
output, break formatting etc.
Copy link
Member

@nickethier nickethier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one question about where the output of dockerlog and logmon end up. Whether we set FormatJSON to true on those or not they may end up in the opposite format of what the agent logs in. Do we see that as a problem?

command/docker_logger_plugin.go Show resolved Hide resolved
@dadgar dadgar merged commit 109c5ef into master Jan 15, 2019
@dadgar dadgar deleted the b-log-levels branch January 15, 2019 00:14
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature] Allow Nomad agent to log in JSON format
2 participants