DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41980>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41980

           Summary: Log4j stop updating log file- version log4j-1.2.8 and
                    log4j-1.2.14
           Product: Log4j
           Version: 1.3alpha
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: major
          Priority: P2
         Component: Appender
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


It appears that log4j stop updating log file as new log entries are not 
reflected in log file and "Modified" time is not update in Windows explorer or 
if using java code.

In reality if application containing log4j is restarted, log entries for non-
responding period will be back. So fact is log file does not reflect entries 
for the some period, instead it copy log entries in some buffer to be copied 
later in log file.

Tried version log4j-1.2.8 and log4j-1.2.14 with same result.

<appender name="testlogger" class="org.apache.log4j.DailyRollingFileAppender">
        <param name="File" value="C:\\Program 
Files\\NCR\\Testing\\testlogger.log"/>
        <param name="DatePattern" value="'.'dd"/>
        <layout class="org.apache.log4j.PatternLayout">
                <param name="ConversionPattern" value="%d{ISO8601} (%p) %m%n"/>
        </layout>
        <filter class="com.ncr.tvi.logger.TVILevelRangeFilter">
                <!-- param name="LevelMin" value="TRACE_0"/ -->
                <param name="LevelMin" value="TRACE_0"/>
                <param name="LevelMax" value="FATAL"/>
        </filter>
    </appender>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to