Byteplant Forum

Home » CleanMail Support » CleanMail Server Talk » Log cycling
Log cycling [message #1798] Wed, 01 August 2007 08:50
chris.elvidge
Messages: 5
Registered: June 2006
Junior Member
Log used to cycle @ midnight -> noSPAMtoday.log~ and a new noSPAMtoday.log. I could then save these .log~s for a week or so before overwriting. Now I seem to have to manually (from Administrator) restart the service to get the log cycled. Is there something I'm missing? Cycle log file after [days] is set to 1.



Chris Elvidge
Re: Log cycling [message #1799 is a reply to message #1798] Wed, 01 August 2007 17:12 Go to previous message
support
Messages: 918
Registered: April 2004
Senior Member
There were no changes in the software with regard to this, and the switch to daylight saving time was a few months ago so midnight is still midnight.

To be on the safe side, check your date/time and timezone settings.



Customer Support
Byteplant GmbH
Re: Log cycling [message #1800 is a reply to message #1799] Sat, 04 August 2007 11:29 Go to previous message
chris.elvidge
Messages: 5
Registered: June 2006
Junior Member
Don't have DST here. Time is GMT+4. NTPTime (server service) keeps it accurate from the european pool of ntp.org. Latest log starts 09:35 Aug 2 (correct) until 09:36 today Aug 4 when I did a "restart server" from the admin client.



Chris Elvidge
Re: Log cycling [message #1801 is a reply to message #1800] Mon, 20 August 2007 20:40 Go to previous message
support
Messages: 918
Registered: April 2004
Senior Member
We will have a close look on this feature before next release, and see if there is a problem.



Customer Support
Byteplant GmbH
Re: Log cycling [message #1802 is a reply to message #1798] Tue, 11 September 2007 22:59 Go to previous message
thisbejoe7
Messages: 17
Registered: January 2006
Junior Member
Just FYI - we have 3.0.3.6 and still have this issue, log cycles correctly most of the time, but several times a month I have to manually cycle the service to get the log to cycle properly. Annoying, but not terrible.

Thanks...
Re: Log cycling [message #1803 is a reply to message #1802] Wed, 12 September 2007 12:55 Go to previous message
support
Messages: 918
Registered: April 2004
Senior Member
There can be a scenario where the Windows OS denies renaming noSPAMtoday.log to noSPAMtoday.log~. I'm thinking for example about having the log file opened in an editor.
Renaming the file then just silently fails, and logging continues in the same file.

Use an editor that doesn't lock the files it displays, or always open a copy only.
Or don't leave the file open overnight.



Customer Support
Byteplant GmbH
Re: Log cycling [message #1804 is a reply to message #1798] Wed, 19 September 2007 16:38 Go to previous message
thisbejoe7
Messages: 17
Registered: January 2006
Junior Member
I never open the file on the server, I always copy to another machine over the network and read from there. Its not as much of an issue lately, but every now and then I have a problem with the log file not cycling properly.

Thanks...
Previous Topic: NST Testing on Exchange 2007
Next Topic: Downloading last v2 version?
Goto Forum:
  


Current Time: Wed Sep 28 19:04:44 CEST 2016