Wednesday, December 9, 2009

Stop those annoying console messages

Preventing console messages from interfering with troubleshooting



Stop those annoying on-screen console messages from interfering when your working on the filer console.


Complete the following steps to create a working /etc/syslog.conf file that will only update /etc/messages.


Note:

This procedure assumes the default configuration where the /etc/syslog.conf does not exist.


Copy the following line into the CLI:


wrfile /etc/syslog.conf


Press the Return key.


Copy the following line into the CLI:


*.info /etc/messages


Press the Return key and CTRL+C to close the file.


At this point, the console messages should stop. To enable console messages again, rename the syslog.conf file from a CIFS/NFS host.


Caution: Using the wrfile /etc/syslog.conf command will cause all contents of the syslog.conf file to be overwritten. If syslogging has already been customized, and these customizations must be kept, please use NFS or CIFS to edit the syslog.conf file.

No comments:

Post a Comment