1 2 3 4 5 6 7 8 9
# see "man logrotate" for details # rotate dmesg, and keep 5 versions. /var/log/dmesg { create rotate 5 nodateext }