1.

How Will You Configure Maximum Files To Be Used To Log Data Using Log4j.properties?

Answer»

Following code configures maximum FILES to be used −

# SET the the BACKUP index
log4j.appender.FILE.MaxBackupIndex=2

Following code configures maximum files to be used −

# Set the the backup index
log4j.appender.FILE.MaxBackupIndex=2



Discussion

No Comment Found