Re: I don't want the LOG be writed to /var/log/messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Modify  the following line in /etc/syslog.conf from
*.info;mail.none;news.none;authpriv.none;cron.none /var/log/messages
to
*.info;mail.none;news.none;authpriv.none;cron.none;kern.none /var/log/messages

Then no kern message will be written to /var/log/messages

thanks & regards
Sudhakar

On 2/7/06, openbsd shen <openbsd.shen@xxxxxxxxx> wrote:
> 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.
>
>



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux