Hi,

Our Java application is using log4j-1.2.8.jar for creating logs.
Although, logs are created with correct numbering order but on machine there numbering sometime is not proper. eg.

AuthenticationModule.log.
AuthenticationModule.log.1
AuthenticationModule.log.3

AuthenticationModule.log.2 is missing.Following values are being used in log4j.properties file.

log4j.appender.A1=org.apache.log4j.ConsoleAppender
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternL ayout
log4j.appender.A1.layout.ConversionPattern=%-5p - %m %n

# A2 is set to be a FileAppender.
log4j.appender.A2=org.apache.log4j.RollingFileAppe nder
log4j.appender.A2.MaxFileSize=5MB
log4j.appender.A2.MaxBackupIndex=10
log4j.appender.A2.File=..\\Logs\\AuthenticationMod ule.log
log4j.appender.A2.encoding=UTF-8

# A2 uses PatternLayout.
log4j.appender.A2.layout=org.apache.log4j.PatternL ayout
log4j.appender.A2.layout.ConversionPattern=<%d> %-5p [%C] - %m (%t)%n
# Validation log
log4j.appender.ADDRESS.layout=org.apache.log4j.Pat ternLayout
log4j.appender.ADDRESS.layout.ConversionPattern=<% d> %m%n
log4j.appender.ADDRESS=org.apache.log4j.RollingFil eAppender
log4j.appender.ADDRESS.MaxFileSize=1MB
log4j.appender.ADDRESS.MaxBackupIndex=5
log4j.appender.ADDRESS.File=..\\Logs\\validation.l og
log4j.appender.ADDRESS.Threshold=INFO


Please guide what could be the reason behind incorrect numbering of log files?