logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rathod, Nitin" <Nitin_Rat...@bmc.com>
Subject Log4j
Date Mon, 13 Jul 2009 11:28:28 GMT
      I' new using to Log4j , but due to its logging features I used this functi= onality
in my product, but while testing I'm facing the following issues :

The log file is not getting executed as per the configuration i.e. I have s= et the max size
for the RollingFileAppender as 10K and mxBackupIndex as 3, = but when the file size reaches
10K , it is not creating other instance of t= he log file instead appending the same file
and increasing it size.

Following is my log4j properties configuration:

#log4j Property initialization for com.bmc

log4j.logger.com.bmc=3DINFO, R



# Keep 10MB Max file size


# Keep one backup file



log4j.appender.R.layout.ConversionPattern=3D%-5p %d{MM/dd HH:mm:ss} %-20.20= c{1} %m%n


Kindly if anyone can suggest why the logging is happening in the single fil= e?

Nitin R.

View raw message