Log rotation configuration file, and package.sh modifications to add it to deb and rpm

This commit is contained in:
Simon Fraser
2015-08-08 22:10:32 +01:00
committed by Cameron Sparr
parent 03cd83dc82
commit 5e55104aa6
2 changed files with 24 additions and 0 deletions

10
etc/logrotate.d/telegraf Normal file
View File

@@ -0,0 +1,10 @@
/var/log/telegraf/telegraf.log
{
rotate 6
daily
missingok
notifempty
nocreate
compress
}