#StackBounty: #linux #rhel #kernel #syslog #logrotate dmesg + how to enable dmesg history logs

Bounty: 50

We have RHEL server version 7.2 and we noticed that dmesg files from previous sessions under /var/log are not created

what we have under /var/log are only

ls -ltr | grep dmesg

-rw-r--r--  1 root   root    123011 Jan  3 04:03 dmesg

instead to get like:

    -rw-r--r--  1 root   root    123011 Jan  3 04:03 dmesg.0
    -rw-r--r--  1 root   root    123011 Jan  2 04:03 dmesg.1
    -rw-r--r--  1 root   root    123011 Jan  1 04:03 dmesg.2
.
.
.

what is the configuration that enable to save the old kernel messaged in backup files?


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.