Start log rolling for docker containers too. Fix logrotate for other daemons.
This commit is contained in:
10
cluster/saltbase/salt/logrotate/docker
Normal file
10
cluster/saltbase/salt/logrotate/docker
Normal file
@@ -0,0 +1,10 @@
|
||||
/var/lib/docker/containers/*/*-json.log {
|
||||
rotate 5
|
||||
copytruncate
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
maxsize 10M
|
||||
daily
|
||||
create 0644 root root
|
||||
}
|
||||
Reference in New Issue
Block a user