Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There are several kernel messages printed to the console during boot time. I do not want the messages with loglevel "KERN_WARNING" to printed to the console. I only want the loglevels above "KERN_WARNING" like "KERN_ERR" to be printed to the console during boot time. When and where should i make changes to get this done. Do the changes have to be made during build time of kernel? Where should i make the changes to change the loglevel.?

I am using WindRiver Linux on PowerPC in an embedded environment. The boot loader i am using is uboot.

When i do ps -eaf, i cannot find the klogd daemon as well.

share|improve this question

Edit the file /etc/sysctl.conf

Uncomment the line kernel.printk = 4 4 1 7

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.