From 04e2db1f41542e840f181996f823c174197275ba Mon Sep 17 00:00:00 2001 From: Sean Reifschneider Date: Wed, 14 Oct 2015 11:10:39 -0600 Subject: [PATCH] Issue #264: Fixes for logrotate config file. This adds copytruncate and dateext to match the Influxdb logrotate file, and removes nocreate (again, to match influxdb). Closes #264 Closes #265 --- CHANGELOG.md | 1 + etc/logrotate.d/telegraf | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc032d5fc..dc8958de9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ of metrics collected and from how many plugins. - [#232](https://github.com/influxdb/telegraf/pull/232): Fix bashism run during deb package installation. Thanks @yankcrime! - [#261](https://github.com/influxdb/telegraf/issues/260): RabbitMQ panics if wrong credentials given. Thanks @ekini! - [#245](https://github.com/influxdb/telegraf/issues/245): Document Exec plugin example. Thanks @ekini! +- [#264](https://github.com/influxdb/telegraf/issues/264): logrotate config file fixes. Thanks @linsomniac! ## v0.1.9 [2015-09-22] diff --git a/etc/logrotate.d/telegraf b/etc/logrotate.d/telegraf index 6a7dedfcf..f34017f07 100644 --- a/etc/logrotate.d/telegraf +++ b/etc/logrotate.d/telegraf @@ -3,8 +3,9 @@ rotate 6 daily missingok + dateext + copytruncate notifempty - nocreate compress }