printk and kernel log

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Thu Jun 27 11:37:53 EDT 2013


On Thu, 27 Jun 2013 18:08:09 +0300, Kevin Wilson said:

> Jun 24 03:43:06 localhost kernel: [ 1858.148661] in my_func1
>
> where is the "localhost" from ?

That's added by your syslog daemon (whatever that might be). It's
basically the value returned by /bin/hostname

> machines on which the hostname appeared instead of localhost

That's because they had hostname set to something else, and you have it
set to 'localhost'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130627/8369e34c/attachment.bin 


More information about the Kernelnewbies mailing list