You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "GrĂ¼bel, Nicole" <Ni...@huk-coburg.de> on 2002/08/05 13:22:23 UTC
LogFactor5 - wrong date in loaded file
Hi!
I just noticed something strange. I create a file with the LF5-format,
so that I can look at it offline with LF5.
Everything seems to be ok with it, but the date I see with LF5 offline
is always 1st january 1970. I guess my configuration of the
DisplayPattern is wrong, but I don't know how to fix it.
This was my first try:
<param name = "ConversionPattern" value = "[slf5s.start]%d{dd.MM.yyyy
HH:mm:ss}[slf5s.dd.MM.yyyy HH:mm:ss] %p[slf5s.PRIORITY]
%m[slf5s.MESSAGE] %c[slf5s.CATEGORY]%n" />
I also tried this - but it didn't work, too:
<param name = "ConversionPattern" value =
"[slf5s.start]%d{DATE}[slf5s.DATE] %p[slf5s.PRIORITY] %m[slf5s.MESSAGE]
%c[slf5s.CATEGORY]%n" />
Any ideas?
Nicole
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>