logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Erskine <michael.ersk...@ketech.com>
Subject RE: DatePattern question
Date Fri, 19 Sep 2008 12:53:12 GMT
> Thanks for the hint, my version of log4j does not have such support, I
> did RTFM :)
> Which version of log4j has these methods? I will check again though.

I'm using the latest 1.2 log4j (http://logging.apache.org/log4j/1.2/index.html) which is 1.2.15
(http://archive.apache.org/dist/logging/log4j/1.2.15/). The DailyRollingFileAppender methods
getDatePattern and setDatePattern are documented at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/DailyRollingFileAppender.html#getDatePattern()
and http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/DailyRollingFileAppender.html#setDatePattern(java.lang.String)
respectively.

Enjoy,
Michael Erskine.


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