Separate log file for ipfw?

Zim

Registered
Under FreeBSD(?) one can send log info from ipfw to a separate file by putting an entry in /etc/syslog.conf

I've been unable to make this work under OS X, and seen a suggestion that it does not work.

Has anyone been able to do this?

Thanks,
Mike
 
Adding the following line to your /etc/syslog.conf is not a great solution, but it is the only one I'm familiar with. ipfw actually reports at the info level of logging from the kernel so you can just send everything up to the info level to a seperate file (which is usually consists only of ipfw stuff, unless you reboot).

kern.info /var/log/ipfw.log
 
Back
Top