The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 06-23-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,790
This is not a programming solution:

1. edit your /etc/syslog.conf file to turn off all of the syslog messages that display there. This does not stop other kernel output.

2. For that you can play with klogd errorlevel settings. Start klogd with something like

Code:
klogd -c 4

This limits console displays to severe errors only. KERN_ERR level messages I believe.
Read your man page for klogd and syslog before tinkering. DO NOT GO ANY LOWER.

Both of these suggestions have downsides - they shut off the flow of information which a lot of sysadmins find useful. They also require a custom setup script if this is a product that goes to customers who are not Linux savvy.