logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Orca <orcunyal...@gmail.com>
Subject Rolling File Problem
Date Tue, 16 May 2006 12:54:16 GMT
Hi all,

I'm using Tomcat 5.0.28 and Eclipse 3.1.0 in my Project. For logging I'm
using log4j.
My problem is some missing rolling files. After rolling as you seen below
some files are missing.

XXXX-Prod.log
XXXX-Prod.log.2
XXXX-Prod.log.3
XXXX-Prod.log.4
XXXX-Prod.log.8
XXXX-Prod.log.9
XXXX-Prod.log.10

In the configuration file, appender tag for RollingFileAppender is like that

     <appender name="RollApp"
            class="org.apache.log4j.RollingFileAppender">
            <param name="Threshold" value="DEBUG" />
            <param name="File" value="C:/LOGS/XXXX-Prod.log" />
            <param name="Append" value="true" />
            <param name="MaxFileSize" value="100000KB" />
            <param name="MaxBackupIndex" value="10" />
            <layout class="org.apache.log4j.PatternLayout">
                  <param name="ConversionPattern" value="[%-5p] [%t] %d %C
%M%n %m%n" />
            </layout>
      </appender>


What can be the problem ?

Hoping for an early answer

Regards,
Orcun

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message