You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by Andreas Fester <An...@gmx.de> on 2005/07/18 21:47:10 UTC

Re: milliseconds

Hi Allen,

Conway Allen wrote:
> Thanks for your reply, Andreas. The problem must be my making - I
> carried over a pattern that I have been using with the 0.9.7 which is
> %d{%d-%b %H:%M:%S,%Q}. Up until now this has worked - it is even
> documented in the PatternLayout class description! I see that writing
> %d{dd-MMM HH:MM:SS,SSS} gives me what I want. Where is that way of
> specifying the date+time format documented please? Have I always been

it seems that time format specification was different in 0.9.7.
In 0.9.8, it is consistent with log4j which allows to use the same
set of format specifiers as the java SimpleDateFormat class.
I checked the 0.9.8 patternlayout implementation and adjusted
the documentation accordingly (patch attached).

Best Regards,

	Andreas

-- 
Andreas Fester
mailto:Andreas.Fester@gmx.de
WWW: http://littletux.homelinux.org
ICQ: 326674288