KERN_DEBUG message level is not for debugging


If you are totally lost on why you aren’t getting debug messsages when you expect them in linux kernel space … or if you are relying on them for state information … DONT USE KERN_DEBUG. Grrr I have been slaving all day trying all these little test programs/modules for a project I’m working on. I finally clicked that the /var/log/* files are buffered to quite a lot of messages (well at least the /var/log/debug file). I think its mainly if you are printing multiple messages of the same content.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s