Closed Nicofuma closed 7 years ago
Definitely on the todo list, PR's welcome :)
Logrotate is already packaged in RancherOS, we just have yet to create a container for it. If your adventurous you can try to create a logrotate service at https://github.com/rancherio/os/tree/master/scripts/dockerimages and then add it to config/default.go
I have to finish to set up my server before. But why not after if it hasn't been already done ^^
@Nicofuma its in https://github.com/rancher/os/releases/tag/v1.1.0-rc2
implemented in https://github.com/rancher/os/pull/1966
I think that /var/log/messages should/could be rotate (maybe between each reboot?)
By the way, a logrotate service could be a must ;)
EDIT: it's the same for docker.log and system-docker.log