[CentOS] iptables console login

Sat Sep 30 01:48:06 UTC 2006
Robert Spangler <lazydog at zoominternet.net>

On Mon September 18 2006 05:00, Abd El-Hameed Ayad wrote:

>  Are there any way to stop the logging of these messages on the console
>  and still logged to a file (/var/log/messages)

Here is what I did.

Edit and add the following to sysctl.conf;

# Stop logging to console
kernel.printk = 3 4 1 7

then run 'sysctl -p' so that it will take effect.

To get it working at boot time i added the following to syscrl.conf;

sysctl -p

I now see no logging to the console anymore.


>
>  Thank you.
>
>  Hameed
>
>
>  _______________________________________________
>  CentOS mailing list
>  CentOS at centos.org
>  http://lists.centos.org/mailman/listinfo/centos


-- 

Regards
Robert

Smile... it increases your face value!