Deploy logrotated
config for Loki
.
This commit is contained in:
parent
9aa481fa56
commit
b95f7a0383
13
cookbooks/loki/files/etc/logrotate.d/loki
Normal file
13
cookbooks/loki/files/etc/logrotate.d/loki
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
/var/log/loki.log
|
||||||
|
{
|
||||||
|
rotate 4
|
||||||
|
weekly
|
||||||
|
missingok
|
||||||
|
notifempty
|
||||||
|
compress
|
||||||
|
delaycompress
|
||||||
|
sharedscripts
|
||||||
|
postrotate
|
||||||
|
/usr/lib/rsyslog/rsyslog-rotate
|
||||||
|
endscript
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user