logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avinash Sridhar" <avnashsrid...@gmail.com>
Subject Regarding the Date Format
Date Mon, 27 Feb 2006 18:27:31 GMT

   thanks for the reply and useful information.

I did find log4j.properties file and changed it like this , %d{MMM dd, yyyy
hh:mm:ss}, this will give me the date format in the correct way, but it
doesnot give me the AM/PM option.

How can I get the AM/PM option after the time?, right now, it is like a 24
hour clock, shows 13,14 instead of 1pm, 2 pm.

I think you got the question right?

Hopefully you will get back with a suggestion.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message