I am in the process of debugging my firewall so I am logging every packet received. However, it is logging to the screen in addition to logging to a file. It doesn't matter which virtual terminal I switch to; I still see the firewall messages. I only want it to log to a file. Any ideas on how to accomplish this?
I am running iptables on Red Hat 7.1. I have attached my syslog.conf.
# Log all kernel messages to the console. # Logging much else clutters up the screen. kern.* /var/log/messages # 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, plus log them on another # machine. *.emerg * # Save mail and news errors of level err and higher in a # special file. uucp,news.crit /var/log/spooler # Save boot messages also to boot.log local7.* /var/log/boot.log