How can I configure /etc/syslog.conf file in order to save log information about iptables in a specific file.

I want to save these information separately, so I can extract what I want easily and rapidly.

marked as duplicate by Gilles, slm, jasonwryan, rahmu, user26112 Oct 18 '13 at 1:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

migrated from stackoverflow.com Oct 17 '13 at 14:33

This question came from our site for professional and enthusiast programmers.

  • Which logs, do you mean the logs configured with iptables -j LOG? I don't think you can do that with a basic syslog. Is installing rsyslog an option? – Gilles Oct 17 '13 at 21:43