Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

corrado9999
Copy link

Not sure if it's the same issue of #11, but each time the event handler was called with a bunch of lines to log, it added a new empty line because split('\n') returns a leading empty string when the input ends with a newline.

…eading empty

string if the input ends with a newline. This resulted in spurious empty lines in
log because of the buffering.
nijel added a commit to WeblateOrg/docker that referenced this pull request Jul 22, 2020
@cweiske
Copy link

cweiske commented Sep 18, 2023

The patch works fine. The screenshot shows the patched stage system, while the other ones have the standard version:
2023-09-18 graylog without newlines

The non-staging systems have many empty log lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants