diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-07-10 17:17:55 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-07-10 17:17:55 +0200 |
commit | eb453eb7788a8a2e6dae8806b6a9a85fa8198fc2 (patch) | |
tree | b3d3b96fd2d05a1bc08247d568418e3d86e3d46b | |
parent | b179f7937f5d583e8d00778161d236cac0366332 (diff) | |
download | OpenBSD-firewall-eb453eb7788a8a2e6dae8806b6a9a85fa8198fc2.tar.gz OpenBSD-firewall-eb453eb7788a8a2e6dae8806b6a9a85fa8198fc2.tar.bz2 |
rotate syslog base on size only (avoid out of memory situtions of /tmp filesystem in RAM)
-rw-r--r-- | template/etc/newsyslog.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template/etc/newsyslog.conf b/template/etc/newsyslog.conf index b20d762..dd091a1 100644 --- a/template/etc/newsyslog.conf +++ b/template/etc/newsyslog.conf @@ -4,9 +4,9 @@ # # 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/authlog root:wheel 640 7 30 * Z /var/log/daemon 640 5 30 * Z /var/log/messages 644 5 30 * Z -/var/log/secure 600 7 * 168 Z +/var/log/secure 600 7 30 * Z /var/log/wtmp 644 7 * $W6D4 B /var/log/pflog 600 3 25 * ZB "pkill -HUP -u root -U root -t - -x pflogd" |