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
Update documentation to clarify the default format for logs #4953
Conversation
=> To be done: we need to check, there might be an issue classified as "bug/possible" around setting the format to the value |
@ldez it looks like that the value
Also, I tried to set version: '3'
services:
lb:
image: traefik:v1.7.12
restart: unless-stopped
command: --api --docker --accesslog.format=common
ports:
- 80:80
- 8080:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock
labels:
- traefik.enable=false
webapp:
image: containous/whoami
labels:
- "traefik.frontend.rule=Host:localhost" I'm removing the |
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
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
…e and how to customize fields Signed-off-by: dduportal <1522731+dduportal@users.noreply.github.com> (cherry picked from commit 57fe470dcb00a17f9a5558824d6a19b91d6b1e21)
Co-Authored-By: Ludovic Fernandez <ldez@users.noreply.github.com>
Co-Authored-By: Ludovic Fernandez <ldez@users.noreply.github.com>
Signed-off-by: dduportal 1522731+dduportal@users.noreply.github.com
What does this PR do?
This PR clarifies the documentation page about logs:
common
and refers to the default CLF formatMotivation
This PR follows up #3942 and is inspired by #3870 where the user was not aware about the mandatory format switch, which could have avoided wasting time searching for a non existent configuration.
Closes #4869.
More
[ ] Added/updated testsAdditional Notes