printk and kernel log

Kevin Wilson wkevils at gmail.com
Mon Jun 24 05:49:16 EDT 2013


Hi,
When I add printk messages, and then try
to read /var/log/messages,
I see this:

Jun 24 03:43:06 localhost kernel: [ 1858.148661] in my_func1
Jun 24 03:44:03 localhost kernel: [ 1915.150953] in my_func2

What are the numbers is square brackets  ?  like [ 1858.148661]
or [ 1915.150953] ?

Is there a way I can get rid of them ?

Regards,
Kevin



More information about the Kernelnewbies mailing list