[xmail] Re: name of xmail log files is wrong

2005-03-29 Thread Francesco Vertova
At 07.55 28/03/05 +0200, you wrote:
I use 1.21

As I tought today the logs are fine. But we could think about next change...

I've been using XMail since version 1.17, first on NT4 then on Win2K 
(always with the latest service pack) and I've always observed this 
behaviour at daylight saving time change: a new log file ending in 2300 
(when DST starts) or 0100 (when DST ends) is created at the time of 
change. The next day the file namings become again normal (, I've no 
hourly rotation set). The reason of this behaviour has always been very 
obscure (Davide sent a test programme some time ago: though it uses the 
same routine as XMail, it does not exhibit this ...).

Ciao, Francesco

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: name of xmail log files is wrong

2005-03-29 Thread Rob Arends
Sounds more like it is only a problem on the _day_ DST changes.
DST usually changes at 02:00, so I'm guessing that on the day of change,
when a new log is being rotated, the new day is having 1 hour adjusted when
the file name is being calculated at 00:00 (day change)
This should not occur, until 02:00 (dst change).
There is a possible problem: lets say you have hourly log rotations, at
02:00 when the time changes back, does xmail open the 01:00 log and append?
The scenario of adding 1 hour is not a problem, there will be one log
'missing', because the hour was skipped -02:00 became 03:00

Rob: -)
_
Signature: Live like you'll die tomorrow!
Reply: I tried your signature out once. It took years off my life!  
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Francesco Vertova
 Sent: Tuesday, March 29, 2005 8:08 PM
 To: xmail@xmailserver.org
 Subject: [xmail] Re: name of xmail log files is wrong
 
 At 07.55 28/03/05 +0200, you wrote:
 I use 1.21
 
 As I tought today the logs are fine. But we could think 
 about next change...
 
 I've been using XMail since version 1.17, first on NT4 then 
 on Win2K (always with the latest service pack) and I've 
 always observed this behaviour at daylight saving time 
 change: a new log file ending in 2300 
 (when DST starts) or 0100 (when DST ends) is created at the 
 time of change. The next day the file namings become again 
 normal (, I've no hourly rotation set). The reason of 
 this behaviour has always been very obscure (Davide sent a 
 test programme some time ago: though it uses the same routine 
 as XMail, it does not exhibit this ...).
 
 Ciao, Francesco
 
 -
 To unsubscribe from this list: send the line unsubscribe 
 xmail in the body of a message to [EMAIL PROTECTED] 
 For general help: send the line help in the body of a 
 message to [EMAIL PROTECTED]
 

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: name of xmail log files is wrong

2005-03-29 Thread Francesco Vertova
At 23.42 29/03/05 +1000, you wrote:
Sounds more like it is only a problem on the _day_ DST changes.
DST usually changes at 02:00, so I'm guessing that on the day of change,
when a new log is being rotated, the new day is having 1 hour adjusted when
the file name is being calculated at 00:00 (day change)

Nope, the day DST changes two log files are created: one, correctly named, 
holds entries until 2am (DST starts) or 3am (DST ends); after 01.59.59 am a 
new file is created, incorrectly named, that holds entries for the rest of 
the day (from the next day on, as I've said, log file names are correct again).

Ciao, Francesco

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: name of xmail log files is wrong

2005-03-29 Thread Charles Frolick
Hello Rob,

Tuesday, March 29, 2005, 7:42:53 AM, you wrote:

RA Sounds more like it is only a problem on the _day_ DST changes.
RA DST usually changes at 02:00, so I'm guessing that on the day of change,
RA when a new log is being rotated, the new day is having 1 hour adjusted when
RA the file name is being calculated at 00:00 (day change)
RA This should not occur, until 02:00 (dst change).
RA There is a possible problem: lets say you have hourly log rotations, at
RA 02:00 when the time changes back, does xmail open the 01:00 log and append?
RA The scenario of adding 1 hour is not a problem, there will be one log
RA 'missing', because the hour was skipped -02:00 became 03:00

Ahh, Daylight Savings Time, twice a year it comes around to screw up
data logging.  How do programs such as MRTG and RRD compensate for
this screw up?  RRD is designed so that all data must be consecutive
times, and no less than one second apart, going back and redoing the
hour would result in errors for the data capture routine, and skipping
an hour would make a hole in the data.

-- 
Best regards,
 Charlesmailto:[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: name of xmail log files is wrong

2005-03-27 Thread Rob Arends
No, it will still be broken.

What os / xmail version are you running.

Rob :-)

_
Signature: Live like you'll die tomorrow!
Reply: I tried your signature out once. It took years off my life!  
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Rosario Pingaro
 Sent: Monday, March 28, 2005 12:58 AM
 To: xmail@xmailserver.org
 Subject: [xmail] name of xmail log files is wrong
 
 today in italy changed the legal hour, so now we are one hour 
 in advance from yesterday.
 
 My xmail has a little problem about it!!!
 
 Now the log files are not in the name of today, for exemple: 
 smtp-20050327
 
 But they look like this one: smtp-200503262300
 
 So my parsing file to graph the xmail usage is not working.
 
 I think tomorrow everything will come back to normal, but I 
 don't understand why this happened, any help Davide?
 
 Thanks
 Rosario
 
 
 -
 To unsubscribe from this list: send the line unsubscribe 
 xmail in the body of a message to [EMAIL PROTECTED] 
 For general help: send the line help in the body of a 
 message to [EMAIL PROTECTED]
 
 

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: name of xmail log files is wrong

2005-03-27 Thread Rosario Pingaro
I use 1.21

As I tought today the logs are fine. But we could think about next change...

Rosario

- Original Message - 
From: Rob Arends [EMAIL PROTECTED]
To: xmail@xmailserver.org
Sent: Monday, March 28, 2005 6:53 AM
Subject: [xmail] Re: name of xmail log files is wrong


 No, it will still be broken.

 What os / xmail version are you running.

 Rob :-)

 _
 Signature: Live like you'll die tomorrow!
 Reply: I tried your signature out once. It took years off my life!


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Rosario Pingaro
 Sent: Monday, March 28, 2005 12:58 AM
 To: xmail@xmailserver.org
 Subject: [xmail] name of xmail log files is wrong

 today in italy changed the legal hour, so now we are one hour
 in advance from yesterday.

 My xmail has a little problem about it!!!

 Now the log files are not in the name of today, for exemple:
 smtp-20050327

 But they look like this one: smtp-200503262300

 So my parsing file to graph the xmail usage is not working.

 I think tomorrow everything will come back to normal, but I
 don't understand why this happened, any help Davide?

 Thanks
 Rosario


 -
 To unsubscribe from this list: send the line unsubscribe
 xmail in the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a
 message to [EMAIL PROTECTED]



 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]

 


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]