Open
Description
Hi!
During playing with SONiC we encountered an issue when all disk's space was consumed by docker containers' logs. I saw the #563 and seems it must prevent such behavior, but seems like it's not. For example swss
container still pushes its logs to the bind mount/var/log/swss:/var/log/swss:rw
.
There are 2 questions:
- Isn't it better to configure default docker log driver to something like
journald
, which is system-wide and can be externally configured to collect as much logs as switch admins want? - Maybe it will be more general to route swss logs to the log driver (via stdout or other stuff) to apply the common logs-rotation-logic?
I can send a PR if you like.
Metadata
Metadata
Assignees
Labels
No labels