Print Page | Close Window

disk space SFE log issue

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
Printed Date: 20 October 2017 at 6:51am

Topic: disk space SFE log issue
Posted By: rudaf
Subject: disk space SFE log issue
Date Posted: 08 May 2008 at 8:06pm
SFE Logs increase rapidly and daily as per .INI configuration. Anyway there is no way to have SFE deleting oldest logs: it forces SysAdmin to remove manually older logs in order to avoid to run out of disk space with next lock of services.
Can you help
thank you

Posted By: LogSat
Date Posted: 08 May 2008 at 10:02pm
SpamFilter will not delete logfiles, that task is left for the administrators...

How we do it ourselves on our server (not SpamFilter... but rather the IIS logs for our SFDB website, where the logs are actually a few GB per day...) is by creating a .BAT file with the following entries, and schedule it to run daily:

CMD.EXE /c robocopy d:\SpamFilter\logfiles\ d:\SpamFilter\logToDelete\ * /s /move /minage:7 /r:0
CMD.EXE /c del d:\SpamFilter\logToDelete\* /s /q

You will need the robocopy utility form the Windows resource kit or support tools. The "7" above is the number of days the logs are kept.

Roberto Franceschetti" rel="nofollow - LogSat Software" rel="nofollow - Spam Filter ISP

Print Page | Close Window