Can we keep more logs?

Murus
Post Reply
jporten
Posts: 9
Joined: Fri Nov 03, 2017 3:46 pm

Can we keep more logs?

Post by jporten » Tue Nov 07, 2017 2:42 am

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?

hany
Posts: 445
Joined: Wed Dec 10, 2014 5:20 pm

Re: Can we keep more logs?

Post by hany » Thu Nov 09, 2017 5:05 pm

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.

Post Reply