summaryrefslogtreecommitdiffstats
path: root/src/logrotate.conf
diff options
context:
space:
mode:
authorDmitry Smirnov <onlyjob@member.fsf.org>2014-03-27 02:12:19 +0100
committerDmitry Smirnov <onlyjob@member.fsf.org>2014-03-27 02:12:19 +0100
commit506d2bbaeb20a0448e4cffdc5f2fb2f57803d689 (patch)
treea4c463cb45ec7504d61f62a89f717a7999a3cf57 /src/logrotate.conf
parentMerge pull request #1537 from ceph/wip-7871 (diff)
downloadceph-506d2bbaeb20a0448e4cffdc5f2fb2f57803d689.tar.xz
ceph-506d2bbaeb20a0448e4cffdc5f2fb2f57803d689.zip
logrotate improvement: do not rotate empty logs
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
Diffstat (limited to 'src/logrotate.conf')
-rw-r--r--src/logrotate.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logrotate.conf b/src/logrotate.conf
index 9181b56f063..9f69646f769 100644
--- a/src/logrotate.conf
+++ b/src/logrotate.conf
@@ -25,4 +25,5 @@
fi
endscript
missingok
+ notifempty
}