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

Fix LoggingOutputStream to work on windows #51779

Merged
merged 1 commit into from
Feb 1, 2020
Merged

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Jan 31, 2020

LoggingOutputStream reads a stream and breaks on newlines. This commit
fixes the behavior to account for windows newlines also containing \r.

closes #51532

LoggingOutputStream reads a stream and breaks on newlines. This commit
fixes the behavior to account for windows newlines also containing `\r`.

closes elastic#51532
@rjernst rjernst added >bug :Core/Infra/Logging Log management and logging utilities v8.0.0 v7.7.0 labels Jan 31, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Logging)

Copy link
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

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

👍

@rjernst rjernst merged commit 7f0608d into elastic:master Feb 1, 2020
@rjernst rjernst deleted the logging3 branch February 1, 2020 00:28
rjernst added a commit that referenced this pull request Feb 1, 2020
LoggingOutputStream reads a stream and breaks on newlines. This commit
fixes the behavior to account for windows newlines also containing `\r`.

closes #51532
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Core/Infra/Logging Log management and logging utilities v7.7.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] LoggingOutputStreamTests fails on Windows
4 participants