summaryrefslogtreecommitdiff
path: root/openwrt/package/logrotate/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-02-15 15:36:28 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-02-15 15:36:28 +0000
commitefc82b9580fa141dae724d26dbb697ed27c3f93f (patch)
tree314ac0d825413d452c8fee70dddefbc32efd78c9 /openwrt/package/logrotate/files
parentd4cfc752103b0e437d41779bec821f826202c8d5 (diff)
downloadmtk-20170518-efc82b9580fa141dae724d26dbb697ed27c3f93f.zip
mtk-20170518-efc82b9580fa141dae724d26dbb697ed27c3f93f.tar.gz
mtk-20170518-efc82b9580fa141dae724d26dbb697ed27c3f93f.tar.bz2
Added logrotate, fixed CP call in httping, added bind splitting, thanks to Sébastien Bourgasser
SVN-Revision: 3243
Diffstat (limited to 'openwrt/package/logrotate/files')
-rw-r--r--openwrt/package/logrotate/files/logrotate.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/openwrt/package/logrotate/files/logrotate.conf b/openwrt/package/logrotate/files/logrotate.conf
new file mode 100644
index 0000000..9a91db9
--- /dev/null
+++ b/openwrt/package/logrotate/files/logrotate.conf
@@ -0,0 +1,30 @@
+# rotate log files weekly
+weekly
+#daily
+
+# keep 4 weeks worth of backlogs
+rotate 4
+
+# create new (empty) log files after rotating old ones
+create
+
+notifempty
+nomail
+#olddir /var/log/backup/
+missingok
+#dateext
+
+# uncomment this if you want your log files compressed
+#compress
+
+# packages can drop log rotation information into this directory
+include /etc/logrotate.d
+
+# no packages own lastlog or wtmp -- we'll rotate them here
+#/var/log/wtmp {
+# monthly
+# create 0664 root utmp
+# rotate 1
+#}
+
+# system-specific logs may be also be configured here.