itamae/cookbooks/promtail/files/etc/logrotate.d/promtail
Kazuhiro MUSASHI e750ac0ce9 Set up promtail:
- Deploy `systemd` config file
- Deploy `promtail` basic config file
- Deploy `rsyslog` config file
- Deploy `logrotated` config file
2020-09-07 22:17:13 +09:00

14 lines
241 B
Plaintext

/var/log/promtail.log
{
rotate 4
weekly
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}