adding docker role

This commit is contained in:
2021-03-03 14:50:47 +00:00
parent 6c045de6bf
commit ac93027a7d
4 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
if $syslogtag contains 'docker/' then /var/log/docker.log
& ~

View File

@@ -0,0 +1,12 @@
/var/log/docker.log
{
rotate 7
daily
missingok
notifempty
delaycompress
compress
postrotate
invoke-rc.d rsyslog rotate > /dev/null
endscript
}