logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "V Jayakumar" <...@hotmail.com>
Subject Which conversion character would log timezone ?
Date Thu, 18 May 2006 10:47:07 GMT
In Log4j, which conversion character would help me to log the time zone 
along with the date.

For example, %d{MMM dd YYYY HH:mm:ss.SSS} would help me to print the time as

MAY 18 2006 12:12:34.234

I would like the see the time zone along with the date as MAY 18 2006 
12:12:34.234 BST

Could you someone let me know, how should I configure my pattern layout to 
achieve this ?

Thanks in advance for your help.



---------------------------------------------------------------------
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