logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arora, Avinash" <Avinash.Ar...@Level3.com>
Subject RE: printing time zone
Date Tue, 25 May 2004 21:54:13 GMT
Thanks. 

Avinash Arora


-----Original Message-----
From: Paul Smith [mailto:Paul.Smith@lawlex.com.au] 
Sent: Tuesday, May 25, 2004 2:40 PM
To: 'Log4J Users List'; log4j-user@jakarta.apache.org
Subject: RE: printing time zone 

> log4j.appender.A1.layout.ConversionPattern =[%d{dd-MMM-yyyy HH:mm:ss}]

PatternLayout uses an internal SimpleDateFormat to do it's work for the
time
field:

http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html

So it's the 'z' (either case, but different meanings.)

hope that helps.

cheers,

Paul Smith

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message