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

Traefik logs are never rotated #1

Open
galenguyer opened this issue Apr 6, 2021 · 0 comments
Open

Traefik logs are never rotated #1

galenguyer opened this issue Apr 6, 2021 · 0 comments
Assignees

Comments

@galenguyer
Copy link
Member

Traefik logs are never rotated, leading to a single huge log file. While space is much less of a constraint than it used to be, this should probably be addressed.

A plain logrotate file on the host could work, but it would have to be copied to /etc/logrotate.d/.

A better solution might be having a container dedicated to rotating logs that mounts the traefik volume and a logrotate configuration. The downside here is it makes sending a USR1 signal to traefik much harder.

@galenguyer galenguyer self-assigned this Apr 6, 2021
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

No branches or pull requests

1 participant