Find the answer to your Linux question:
Results 1 to 2 of 2
My Googling presented no clear answers to how to extend the logging period of the /var/log/secure[.x] and /var/log/messages[.x] logging files. They are currently covering about 4 weeks. I wish to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    1

    How to expand secure/messages logs


    My Googling presented no clear answers to how to extend the logging period of the /var/log/secure[.x] and /var/log/messages[.x] logging files.

    They are currently covering about 4 weeks. I wish to expand this to about 14 weeks.

    TIA!

  2. #2
    Just Joined!
    Join Date
    Apr 2005
    Location
    Romania
    Posts
    42
    Look at logrotate (/etc/logrotate.conf, /etc/logrotate.d/)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •