Page 1 of 1

Can we keep more logs?

Posted: Tue Nov 07, 2017 2:42 am
by jporten
Confused why the longest we can save archived pf logs is 20 rotated files—after they're zipped, they're small, and we'd pretty much like to save them all while we kick the tires on Murus. But the slider maxes at 50 meg files and 20 files back. Is there some way to up this ceiling?

Re: Can we keep more logs?

Posted: Thu Nov 09, 2017 5:05 pm
by hany
Yes you can manually edit file

Code: Select all

/etc/newsyslog.conf
look for this row:

Code: Select all

/var/log/pffirewall.log                 644  20   5000 *    J
Just change "20" to "200" or whatever you need, then reboot.