Mike,

I must have been up late when I wrote that! The CVS code has been
changed to:

DateTime s_date1970 = new DateTime(1970, 1, 1);

Which should do the job.

Cheers,
Nicko 

> -----Original Message-----
> From: Mike Blake-Knox [mailto:[EMAIL PROTECTED] 
> Sent: 17 August 2004 14:38
> To: 'Log4NET User'
> Subject: XmlLayoutSchemaLog4j timestamp
> 
> XmlLayoutSchemaLog4j uses local time instead of UTC/GMT in 
> timestamps. As a result the log4j chainsaw viewer displays 
> times incorrectly.
> 
> This can be corrected by changing the initialization of 
> s_date1970 in XmlLayoutSchemaLog4j.cs to the value of 
> DateTime.Parse("1970-01-01 0:0:0 GMT").
> 
> Mike Blake-Knox
> email: [EMAIL PROTECTED]
> TSYS Office: (706) 644-3643
> cellphone: (706) 570-4641
>  
> 
> 

Reply via email to