Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - disk space SFE log issue
  FAQ FAQ  Forum Search   Register Register  Login Login

disk space SFE log issue

 Post Reply Post Reply
Author
rudaf View Drop Down
Newbie
Newbie


Joined: 04 July 2007
Location: Italy
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote rudaf Quote  Post ReplyReply Direct Link To This Post Topic: disk space SFE log issue
    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
Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4104
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post 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

LogSat Software

Spam Filter ISP
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.105 seconds.