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 parse log format that contains concatenated fields incorrect #43

Merged
merged 1 commit into from
Nov 23, 2018

Conversation

coldnight
Copy link
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
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
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