Whole document tree
    

Whole document tree

Disable logging to console

B.2. Disable logging to console

Console messages will disturb two-way communications protocols such as Xmodem, Zmodem or Kermit. The protocols are robust enough to cope with the occassional message, they are just another type of line noise. But regularly repeated messages, such as those from a failing disk, will diminish performance to the extent that uploading a file will be impossible.

Alter your system's configuration to give klogd the -c 1 parameter, inhibiting the display of kernel messages directly to the console. Kernel messages will still go to the system logger.

Figure B-1. Supressing kernel messages to the console in Red Hat Linux

bash# vi /etc/sysconfig/syslog
KLOGD_OPTIONS="-2 -c 1"
bash# /etc/init.d/syslog restart

Also modify the system logger's configuration not to send messages to the console. Edit /etc/syslog.conf, altering lines sending output to /dev/console. Send this output to a file instead.