From: "Rob Sterenborg" Subject: RE: I don't want the LOG be writed to /var/log/messages Date: Tue, 7 Feb 2006 07:09:28 +0100 Message-ID: <000101c62bad$0d95de60$0101000a@sterenborg.info> References: <6ff3e7140602062127u58c56046u@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <6ff3e7140602062127u58c56046u@mail.gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: 'netfilter' > I write a line in /etc/syslog.conf: > kern.=info > /var/log/iptables > > Now the log of iptables write to /var/log/iptables, but I found that > the log still write in /var/log/messages, now I have 2 copies of the > log, how can I stop the write to /var/log/messages, and only write to > /var/log/iptables? Thanks. If you want all iptables messages in one file, use ulogd and the ULOG target. http://freshmeat.net/projects/ulogd/ Gr, Rob