nitin_cherian
nitin_cherian

Reputation: 6655

What is the loglevel for : printk ("Freeing initrd memory: %ldk freed\n", (end - start) >> 10);

In the kernel function call

printk ("Freeing initrd memory: %ldk freed\n", (end - start) >> 10);

No kernel log-level is mentioned. Then what will be the log level that will be taken by deafult?

Upvotes: 1

Views: 489

Answers (1)

nitin_cherian
nitin_cherian

Reputation: 6655

I got the answer.

If no message log level is mentioned in printk function, the DEFAULT_MESSAGE_LOGLEVEL is used by the kernel. The second field in /proc/sys/kernel/printk shows the DEFAULT_MESSAGE_LOGLEVEL.

Upvotes: 1

Related Questions