way to flush /var/log/message

Alan J. Gagne alanjgagne at gmail.com
Mon May 21 19:15:55 UTC 2012


> When I first looked into the man pages et al for iptables, I found the
> LOG but no way to specify a file. The best I could sort out was using a
> prefix so I would at least have a token to search for in /var/log/messages.
>
> I just did a quick google to see if I missed something. The only thing I
> see is a level and a link to syslog.conf, which I did not get on first
> reading (and it didn't feel like where I should be looking to begin with).
>
> Can you point me to a link?

You could look at sending iptables messages to /var/log/iptables using 
rsyslog.

http://blog.shadypixel.com/log-iptables-messages-to-a-separate-file-with-rsyslog/

Alan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120521/2c4e9073/attachment.html>


More information about the users mailing list