[CentOS] iptables console login
Abd El-Hameed Ayad
hamid at use-trade.com
Tue Sep 19 08:33:35 UTC 2006
Thank you very much for your concern.
Here is a snapshot of my syslog.conf file (pound sign already exists)
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
# The authpriv file has restricted access.
# Log all the mail messages in one place.
# Log cron stuff
# Everybody gets emergency messages
# Save news errors of level crit and higher in a special file.
# Save boot messages also to boot.log
> Abd El-Hameed Ayad wrote:
>> I have messages like (on a centos 3.8 box)
>> NET: 21 messages suppressed.
>> martian source 10.255.255.255 from 10.0.0.138, on dev eth0
>> on my screen. In the same time it is being logged to a file.
>> Are there any way to stop the logging of these messages on the
>> console and still logged to a file (/var/log/messages)
> Add a pound sign to the head of any lines that end in /dev/console in
> #kern.* /dev/console
> If you really want all kernel messages logged to a file, you can
> change the above to point to /var/log/kern (that is, you don't have to
> comment it out with a pound sign) and create appropriate entries in
> the log rotation configuration.
> CentOS mailing list
> CentOS at centos.org
More information about the CentOS