- 论坛徽章:
- 0
|
linux8.0日志问题:为什么有日志在屏幕上一直滚动显示?
[quote]原帖由 "fr21cn"]是不是因为在syslog.conf写了/dev/console[/quote 发表:
可我已经把里面的配置全#掉了呀,请看! Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
#*.info;mail.none;authpriv.none;cron.none /var/log/messages
# The authpriv file has restricted access.
#authpriv.* /var/log/secure
# Log all the mail messages in one place.
#mail.* /var/log/maillog
# Log cron stuff
#cron.* /var/log/cron
# Everybody gets emergency messages
#*.emerg *
# Save news errors of level crit and higher in a special file.
#uucp,news.crit /var/log/spooler
"syslog.conf" 26L, 694C
屏幕上照样出现滚动信息!,屏幕上的信息应该是iptables产生的
iptables中有如下配置
# Log packets that still don't match
$IPT -A INPUT -m limit --limit 3/minute --limit-burst 3 -j LOG \
--log-prefix "INPUT packet died: "
请问我如何不让它显示在屏幕上? |
|