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 the access logging to put the fields into the right places #351

Merged
merged 1 commit into from Aug 7, 2020

Conversation

ankon
Copy link
Contributor

@ankon ankon commented Aug 7, 2020

  • Drop the extra placeholder in the "Url" field
  • Reorder the arguments to match the order given in the format

* Drop the extra placeholder in the "Url" field
* Reorder the arguments to match the order given in the format
@ankon
Copy link
Contributor Author

ankon commented Aug 7, 2020

Before with 0.15.0:

akhq-86459fd674-lxldt akhq 2020-08-07 08:25:25,601 INFO  pGroup-1-2 org.akhq.log.access        [Date: 2020-08-07T08:25:25.589956Z] [Duration: 11 ms] [Url: GET /prometheus 200] [Status: 3048] [Ip: 10.0.6.51] [Length: 8080] [Port: {}]

After the fix:

akhq-6d48c845d4-n48pl akhq 2020-08-07 08:40:35,727 INFO  pGroup-1-3 org.akhq.log.access        [Date: 2020-08-07T08:40:35.719924Z] [Duration: 7 ms] [Url: GET /prometheus] [Status: 200] [Ip: 2681] [Length: 10.0.6.51] [Port: 8080]

@tchiotludo
Copy link
Owner

thanks ;)
see it, don't have the time to fix it :)
You are quicker than me :)

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.

None yet

2 participants