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
parent 2cd56e43a8
commit ed9b43e2cc
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
}