We are using log4j-1.2.16.jar and apache-log4j-extras-1.1.jar to implement
the TimeBasedRollingPolicy logging functionality using the property File
approach.

We intend to use the maxHistory Feature but are getting the following
warning message. 

maxHistory that does not exist in
org.apache.log4j.rolling.TimeBasedRollingPolicy

1. we have checked several class files in the above mentioned jar files for
this property but we could'nt find the maxHistory property in the classes. 
2. We have taken the Property file approach and this is the syntax we've
used. 
 log4j.appender.GoopilAppender.RollingPolicy.maxHistory=180
3. The property file approach works fine for other properties like zipping
the log files, log file generation etc. but the maxHistory is having this
issue. 

-- 
View this message in context: 
http://old.nabble.com/Log4j--maxHistory-property-in-TimeBasedRollingPolicy-tp31539197p31539197.html
Sent from the Log4j - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to