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

update logrus to 1.0, use Entry.Writer to catch exec stdout #425

Merged
merged 1 commit into from
Jul 5, 2017

Conversation

tgross
Copy link
Contributor

@tgross tgross commented Jul 3, 2017

For #393 and possibly #423 if it applies to v3

Fixes a regression in log formatting for exec stdout/stderr; we were creating a new logger without any of our configuration. In Logrus 1.0 we can access the Writer of a contextual logger and attach it to our process's stdout/stderr.

Fixes a regression in log formatting for exec stdout/stderr; we were
creating a new logger without any of our configuration. In Logrus 1.0
we can access the Writer of a contextual logger and attach it to our
process's stdout/stderr.
@tgross
Copy link
Contributor Author

tgross commented Jul 5, 2017

Per discussion in #423 (ref #423 (comment)), this won't fix that problem. But it will still fix the regression in #393 and remove any possible raciness in the stdout/stderr capture of our exec.

@tgross tgross merged commit 847a9ab into v2_backports Jul 5, 2017
@tgross tgross deleted the fix_logger_v2 branch July 5, 2017 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant