aboutsummaryrefslogtreecommitdiffstats
path: root/main/logrotate/logrotate.conf
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2016-01-02 20:46:06 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2016-01-02 20:46:16 +0200
commit5d232331b7421bef5851f167f105e8282db5f4ba (patch)
tree9881cbe1dc5e69a378f33aba90f69cd0d5af4867 /main/logrotate/logrotate.conf
parent19b0c63da322177b3942b5f1a790cd7d667d13e9 (diff)
downloadaports-5d232331b7421bef5851f167f105e8282db5f4ba.tar.bz2
aports-5d232331b7421bef5851f167f105e8282db5f4ba.tar.xz
main/logrotate: rotate /var/log/messages by default
Diffstat (limited to 'main/logrotate/logrotate.conf')
-rw-r--r--main/logrotate/logrotate.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/logrotate/logrotate.conf b/main/logrotate/logrotate.conf
index 125268ae80..bcfc174a7e 100644
--- a/main/logrotate/logrotate.conf
+++ b/main/logrotate/logrotate.conf
@@ -14,6 +14,9 @@ dateext
# uncomment this if you want your log files compressed
compress
+# main log file
+/var/log/messages {}
+
# apk packages drop log rotation information into this directory
include /etc/logrotate.d