*
The moose likes Other Open Source Projects and the fly likes log4j.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log4j.xml" Watch "log4j.xml" New topic
Author

log4j.xml

naga eswar
Ranch Hand

Joined: Jan 25, 2012
Posts: 120
Hi all,

Can any body let me know the maximum value we can assign to MaxBackupIndex. We are maintaining the property values in log4j.xml as below

<param name="MaxBackupIndex" value="25"/>

Can we have unlimit value here or please let me know the maximum value.
nir sharma
Ranch Hand

Joined: Sep 11, 2012
Posts: 72

check this

http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/RollingFileAppender.html#getMaxBackupIndex%28%29
naga eswar
Ranch Hand

Joined: Jan 25, 2012
Posts: 120
Thanks nir.

can you please tell me when this methods will load or execute.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: log4j.xml
 
Similar Threads
log4j.xml configuration for configuring input from specific file only to consider logging.
persist previous server.log after server restarts using log4j.xml
comfiguring Log4j.xml
JForum Error Logging
Tomcat with Log4j