printk and kernel log

Valdis.Kletnieks at Valdis.Kletnieks at
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 : 

More information about the Kernelnewbies mailing list