user3564532
user3564532

Reputation: 27

Lost Lines in Kernel Log

I use printk many times in my code. Perhaps 100000 times! and the time-interval between each call is really short. At the end, when I check kernel log (/var/log/kern.log in Ubuntu 12.04) I see many of the lines are lost. Is there any way to avoid this problem? Thanks in advance!

Upvotes: 0

Views: 230

Answers (1)

CL.
CL.

Reputation: 180070

Increase the log buffer size (CONFIG_LOG_BUF_SHIFT).

Upvotes: 1

Related Questions