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: increase log rotator line scan limit #4765

Merged
merged 1 commit into from
Oct 30, 2018

Conversation

jippi
Copy link
Contributor

@jippi jippi commented Oct 9, 2018

In case where gelf/json logging is used, its fairly easy to exceed the 16k limit, resulting in json output being cut up into multiple strings

the result is invalid json lines which can create all kind of badness in the logging server

This fixes #4699

Signed-off-by: Christian Winther [email protected]

In case where gelf/json logging is used, its fairly easy to exceed the 16k limit, resulting in json output being cut up into multiple strings

the result is invalid json lines which can create all kind of badness in the logging server

This fixes hashicorp#4699

Signed-off-by: Christian Winther <[email protected]>
@jippi jippi force-pushed the increase-line-scan-limit branch from d134fa4 to 5314bfc Compare October 9, 2018 16:57
@jippi
Copy link
Contributor Author

jippi commented Oct 9, 2018

@dadgar fixed 👍

@jippi
Copy link
Contributor Author

jippi commented Oct 12, 2018

@dadgar @schmichael please remember this one before the 0.9 cut :)

@nickethier nickethier merged commit 4b08ef0 into hashicorp:master Oct 30, 2018
@jippi jippi deleted the increase-line-scan-limit branch October 30, 2018 12:54
@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 25, 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.

Increase lineScanLimit in log rotation logic
3 participants