I am using CentOS 6.5 64bit. I want to enable timestamp for dmesg log entries [/var/log/dmesg].
I went through
this post, but recompiling the kernel is not an option for me.
Is there any other possible way of doing it [via configuration settings]?
I added the following in rsyslog.conf -
Code:
kern.* /var/log/kern.log
It started printing some messages in kern.log, but dmesg log file still does not have timestamp.
Thanks
Bhushan Pathak