Skip to content

Traefik logs are never rotated #1

@galenguyer

Description

@galenguyer

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions