I am busy tidying up my logfiles in /var/log and I would like to keep one years worth of logs for PF. I can't seem to get this right so can somone check what I have done and let me know what I am missing please. I would like to change the logfile location to /var/log/firewall
First I created a new folder in /var/log called firewall.
I then added the following to /etc/rc.conf
but after restarting PF and Syslog as follows:
I have no pflog file in /var/log/firewall. What am I doing wrong?:e
First I created a new folder in /var/log called firewall.
I then added the following to /etc/rc.conf
Code:
pflog_logfile="/var/log/firewall" (I tried /var/log/firewall/pflog too)
but after restarting PF and Syslog as follows:
Code:
/etc/rc.d/syslogd restart
/etc/rc.d/pf restart
I have no pflog file in /var/log/firewall. What am I doing wrong?:e