-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Document the default accessLog format #3942
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@ldez, Are you not a fan of showing what values are quoted, like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👏 📖
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Use the same case for `ElapsedMilliseconds`
There is a `ms` added to the request duration value.
What does this PR do?
Add documentation for the default accessLog format on the logs doc.
Motivation
I wanted to know what the access log format was so I could parse and label the fields correctly in my centralized logger. Ex:
I had to read the code to see what the different values were. https://github.com/containous/traefik/blob/5acd43efaf076ae2204285e750e41976c29069f2/middlewares/accesslog/logger_formatters.go#L34