summaryrefslogtreecommitdiff
path: root/frontends/etc
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-12-04 23:36:54 +0200
committerPaul Buetow <paul@buetow.org>2024-12-04 23:36:54 +0200
commit640f4d5b43d1be49eceeb557caf0ca09102ad921 (patch)
tree99cb5201b32fa6361a51da642cf1b93547d7b867 /frontends/etc
parent2ad2efffc1ef2a353dfeed5a892ea963cdff031f (diff)
keep foostats relevant logs for longer
Diffstat (limited to 'frontends/etc')
-rw-r--r--frontends/etc/newsyslog.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/frontends/etc/newsyslog.conf b/frontends/etc/newsyslog.conf
new file mode 100644
index 0000000..9e401ca
--- /dev/null
+++ b/frontends/etc/newsyslog.conf
@@ -0,0 +1,13 @@
+# logfile_name owner:group mode count size when flags
+/var/cron/log root:wheel 600 3 10 * Z
+/var/log/authlog root:wheel 640 7 * 168 Z
+/var/log/daemon 640 14 300 * Z
+/var/log/lpd-errs 640 7 10 * Z
+/var/log/maillog 640 7 * 24 Z
+/var/log/messages 644 5 300 * Z
+/var/log/secure 600 7 * 168 Z
+/var/log/wtmp 644 7 * $M1D4 B ""
+/var/log/xferlog 640 7 250 * Z
+/var/log/pflog 600 3 250 * ZB "pkill -HUP -u root -U root -t - -x pflogd"
+/var/www/logs/access.log 644 14 * $W0 Z "pkill -USR1 -u root -U root -x httpd"
+/var/www/logs/error.log 644 7 250 * Z "pkill -USR1 -u root -U root -x httpd"