aspose file tools*
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
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.
 
Don't get me started about those stupid light bulbs.
 
subject: log4j.xml