I noticed my downloads log (IP2Files) is becoming huge. Is there an option to limit the downloads log. I have some 340,000 pages of info taking up DB space.
Maybe an option to limit the log to 30 days only? And then purge the rest?
Any ideas?
XFileSharing Pro - Downloads log is very large - how to limit the log?
-
- Posts: 90
- Joined: Nov 18, 2009 9:15 pm
Re: Downloads log is very large - how to limit the log?
Hello,Hendrickson wrote:I noticed my downloads log (IP2Files) is becoming huge. Is there an option to limit the downloads log. I have some 340,000 pages of info taking up DB space.
Maybe an option to limit the log to 30 days only? And then purge the rest?
Any ideas?
you can delete log file every X days using cron.
Something like:
Code: Select all
0 0 0 * * 0 rm -rf /your/path/to/log/file
It will delete log file weekly.
-
- Posts: 90
- Joined: Nov 18, 2009 9:15 pm