about summary refs log tree commit diff stats
path: root/tools/conf/etc/logrotate.conf
diff options
context:
space:
mode:
authorpunk <punk@libernaut>2021-04-29 16:11:04 +0100
committerpunk <punk@libernaut>2021-04-29 16:11:25 +0100
commit9bef2e2b7ea351b6b1cb490597356677db61ff34 (patch)
treec36ae24aa3c36f6c19284c7d4da7c25a620bfabf /tools/conf/etc/logrotate.conf
parent6b5cf63d1987889e272643bf7eeb7725df856d11 (diff)
parent5e601f7ee14830ef645ee3d3b1bcdce7450a5ce3 (diff)
downloaddoc-master.tar.gz
release 0.7.2 HEAD master
Diffstat (limited to 'tools/conf/etc/logrotate.conf')
-rw-r--r--tools/conf/etc/logrotate.conf327
1 files changed, 0 insertions, 327 deletions
diff --git a/tools/conf/etc/logrotate.conf b/tools/conf/etc/logrotate.conf
deleted file mode 100644
index d7ff75c..0000000
--- a/tools/conf/etc/logrotate.conf
+++ /dev/null
@@ -1,327 +0,0 @@
-# see "man logrotate" for details
-# rotate log files weekly
-weekly
-
-# keep 4 weeks worth of backlogs
-rotate 4
-
-# create new (empty) log files after rotating old ones
-create
-
-# uncomment this if you want your log files compressed
-#compress
-
-olddir /var/log/old
-maxsize 1M
-
-# some packages can drop log rotation information into 
-# this directory
-include /etc/logrotate.d
-
-dateformat .%Y%m%d
-
-# few generic files to rotate
-/var/log/wtmp {
-    monthly
-    create 0644 root root
-    rotate 1
-}
-
-/var/log/btmp {
-    monthly
-    create 0600 root root
-    rotate 1
-}
-
-# system-specific logs may be also be configured here.
-/var/log/auth {
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-      /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/sudo {
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-      /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/cron {
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-      /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/daemon {
-   rotate 7
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-      /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/debug {
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-      /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/error {
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-      /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/iptables {
-    # uncomment this if you want your log files compressed
-    delaycompress
-    compress
-    postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-    endscript
-}
-
-/var/log/kernel {
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/lpr {
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/mail.err {
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/mail.info {
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/mail {
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-      /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/mail.warn {
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-      /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/messages {
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-      /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-
-/var/log/user {
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-      /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/uucp {
-   missingok
-   notifempty
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-      /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/syslog-ng {
-   rotate 7
-   daily
-   compress
-   delaycompress
-   sharedscripts
-   postrotate
-      /sbin/syslog-ng-ctl reload >/dev/null
-   endscript
-}
-
-/var/log/ntpd {
-    # uncomment this if you want your log files compressed
-    delaycompress
-    compress
-    postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-    endscript
-}
-
-/var/log/dnsmasq {
-    # uncomment this if you want your log files compressed
-    delaycompress
-    compress
-    postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-    endscript
-}
-
-/var/log/pgsql {
-    # create new (empty) log files after rotating old ones
-    create 0644 root root
-    # uncomment this if you want your log files compressed
-    delaycompress
-    compress
-    notifempty
-    maxsize 5M
-    postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-    endscript
-}
-
-/var/log/git-daemon {
-    # uncomment this if you want your log files compressed
-    delaycompress
-    compress
-    postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-    endscript
-}
-
-/var/log/gitolite {
-    # uncomment this if you want your log files compressed
-    delaycompress
-    compress
-    postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-    endscript
-}
-
-/var/log/php-fpm {
-    # uncomment this if you want your log files compressed
-    delaycompress
-    compress
-    postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-    endscript
-}
-
-/var/log/php {
-    # uncomment this if you want your log files compressed
-    delaycompress
-    compress
-    postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-    endscript
-}
-
-/var/log/nginx_access {
-    # uncomment this if you want your log files compressed
-    delaycompress
-    compress
-    postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-    endscript
-}
-
-/var/log/nginx_error {
-    # uncomment this if you want your log files compressed
-    delaycompress
-    compress
-    postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-    endscript
-}
-
-/var/log/nginx/vhost_error {
-    # uncomment this if you want your log files compressed
-    delaycompress
-    compress
-    olddir /var/log/old/nginx
-    postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-    endscript
-}
-
-/var/log/nginx/vhost_access {
-    # uncomment this if you want your log files compressed
-    delaycompress
-    compress
-    olddir /var/log/old/nginx
-    postrotate
-        /sbin/syslog-ng-ctl reload >/dev/null
-    endscript
-}