This adds copytruncate and dateext to match the Influxdb logrotate file, and removes nocreate (again, to match influxdb). Closes #264 Closes #265
12 lines
131 B
Plaintext
12 lines
131 B
Plaintext
/var/log/telegraf/telegraf.log
|
|
{
|
|
rotate 6
|
|
daily
|
|
missingok
|
|
dateext
|
|
copytruncate
|
|
notifempty
|
|
compress
|
|
}
|
|
|