Skip to content

Fix parse log format that contains concatenated fields incorrect#43

Merged
satyrius merged 1 commit intosatyrius:masterfrom
coldnight:fix-concatenatd-fields
Nov 23, 2018
Merged

Fix parse log format that contains concatenated fields incorrect#43
satyrius merged 1 commit intosatyrius:masterfrom
coldnight:fix-concatenatd-fields

Conversation

@coldnight
Copy link
Copy Markdown
Contributor

Fix log format concatenated multiple fields toggle like below:

"$host$request_uri"

Before this commit got:

"(?P<host>[^$]*)\$request_uri"

After this commit got:

"(?P<host>[^"]*)(?P<request_uri>[^"])"

Fixes #42.

@coldnight
Copy link
Copy Markdown
Contributor Author

@satyrius

Fix log format concatenated multiple fields toggle like below:

"$host$request_uri"

Before this commit got:

"(?P<host>[^$]*)\$request_uri"

After this commit got:

"(?P<host>[^"]*)(?P<request_uri>[^"])"

Fixes satyrius#42.
@coldnight coldnight force-pushed the fix-concatenatd-fields branch from 82c6750 to a23ca5f Compare November 22, 2018 07:26
@satyrius
Copy link
Copy Markdown
Owner

Thanks for the patch @coldnight

@satyrius satyrius merged commit d96bd26 into satyrius:master Nov 23, 2018
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