Dear Friends, How I redirect messages of screen to file on IPTABLES ? Thanks Adriano
Adriano Frare wrote:> Dear Friends, > > How I redirect messages of screen to file on IPTABLES ? > > > Thanks > > > AdrianoIn the file /etc/syslog.conf see that this line appears there: # Log all kernel messages to the console. # Logging much else clutters up the screen. kern.* /var/log/messages That will place all log messages for the kernel into the file /var/log/messages. -- Mark
Maybe your see the messages in /var/log/messages but also in the console? Then you need to fix klogd, like this: /etc/sysconfig/syslog KLOGD_OPTIONS="-x -c 3" The "-c 3" does the magic, don't forget to: service syslog restart HTH Oliver Adriano Frare wrote:> Dear Friends, > > How I redirect messages of screen to file on IPTABLES ? > > > Thanks > > > Adriano > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > lists.centos.org/mailman/listinfo/centos-- Oliver Schulze L. <oliver at samera.com.py>