Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] What level printk?


Hey.

I'm trying to learn more about the Internet Protocol Suite implementation in
Linux. I want to add a bunch of printk's in the kernel's TCP/IP code,
recompile the kernel and watch what happens. It prints what function it's
in, dumps variables to a log file etc, you know, your standard debug prints.
Idea is to print this and watch it go in a terminal when I run an echo
client and server to exercise it.

What level of printing should I use in printk? I hear anything less than a
certain level and I won't see it in my terminal window. If it helps I will
almost always be using a Gnome terminal emulator window when logged in as
root.

Thanks heaps.
James