logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew n marshall <amars...@ISI.EDU>
Subject Re: XML Configuration
Date Tue, 11 Dec 2007 18:04:59 GMT
Curt Arnold wrote:
> You do not have a % (percent) character before the d to introduce the 
> date format.  I assume that log4cxx is treating the whole pattern as a 
> literal and the message is an indication that it did not locate a date 
> pattern in the FileNamePattern value.  There is an example in 
> src/test/resources/input/rolling/time.xml.


Yes that fixed it.

The docs need to be updated accordingly.  In the detailed description of:
   
http://logging.apache.org/log4cxx/apidocs/classlog4cxx_1_1rolling_1_1RollingFileAppender.html
the XML example has the bug you noticed and a spurious " in the <root> 
tag (rollingfileappender.h).


Anm

Mime
View raw message