[ale] prink's driving me crazy

Chris Fowler cfowler at outpostsentinel.com
Tue Jan 29 09:20:47 EST 2002



I do not want any printk message of level 4 going to the console.  I changed linux-2.4.13/kernel/printk.c to look like this:

/* printk's without a loglevel use this.. */
#define DEFAULT_MESSAGE_LOGLEVEL 4 /* KERN_WARNING */

/* We show everything that is MORE important than this.. */
#define MINIMUM_CONSOLE_LOGLEVEL 5 /* Minimum loglevel we let people use */
#define DEFAULT_CONSOLE_LOGLEVEL 7 /* anything MORE serious than KERN_DEBUG */


All  I changed was MINIMUM_CONSOLE_LOGLEVEL from 1 to 5.  Hoping that 4's will not be displayed on the console at boot.  Does anyone know a way
to do this?  Obviously changing MINIMUM_CONSOLE_LOGLEVEL to 5 did not work.


I know I can do this with syslog(2) but that has to happen from my code.  I want this nailed at boot.  I'm open to use a lilo command line append option.

Thanks,
Chris


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list