Koozali.org: home of the SME Server

Log Files - Lenght of time

Offline ltc6netspec

  • ****
  • 72
  • +0/-0
    • http://www.lth6.k12.il.us
Log Files - Lenght of time
« on: August 26, 2006, 06:46:22 AM »
How does one set the time period (days) to keep any log files like: qmail, spamd, qpstmpd?

Thanks

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Log Files - Lenght of time
« Reply #1 on: August 26, 2006, 02:58:48 PM »
Here's a description of how to keep more qpsmtpd log data:
http://forums.contribs.org/index.php?topic=32853.0

Warning: this solution does not use any of the supported SME configuration methods, so the changes would not survive a backup/restore in the event of server failure!

There is a "feature request" to include this as a supported capability in a future version of SME:
http://bugs.contribs.org/show_bug.cgi?id=1743

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Log Files - Lenght of time
« Reply #2 on: August 27, 2006, 05:16:01 AM »
Quote from: "ltc6netspec"
How does one set the time period (days) to keep any log files like: qmail, spamd, qpstmpd?


Those logs are all kept until they are a certain size, not for any particular period of time. If you want them kept longer, then you will either need to reduce the amount of information being written to them, or increase their size or the number which are kept.