Log rotation configuration file, and package.sh modifications to add it to deb and rpm
This commit is contained in:
committed by
Cameron Sparr
parent
03cd83dc82
commit
5e55104aa6
10
etc/logrotate.d/telegraf
Normal file
10
etc/logrotate.d/telegraf
Normal file
@@ -0,0 +1,10 @@
|
||||
/var/log/telegraf/telegraf.log
|
||||
{
|
||||
rotate 6
|
||||
daily
|
||||
missingok
|
||||
notifempty
|
||||
nocreate
|
||||
compress
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user