Skip to content

Allow for newlines in logfmt fields#11

Open
LeonB wants to merge 1 commit into
kr:mainfrom
omniboost:main
Open

Allow for newlines in logfmt fields#11
LeonB wants to merge 1 commit into
kr:mainfrom
omniboost:main

Conversation

@LeonB

@LeonB LeonB commented Feb 2, 2024

Copy link
Copy Markdown

I have log entries like:

level=info msg="* The error is \"TEST\"
* Another error \"TEST 2\""

But when unquoteBytes() I get the error: error unquoting bytes ""

This patch allows for newlines in logfmt fields where the unquoteBytes() is used

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.

1 participant