[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-dev
Subject:    DO NOT REPLY [Bug 41980]  New:  - Log4j stop updating log file- version log4j-1.2.8 and log4j-1.2.14
From:       bugzilla () apache ! org
Date:       2007-03-29 9:58:50
Message-ID: bug-41980-31091 () http ! issues ! apache ! org/bugzilla/
[Download RAW message or body]

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: log4j-dev@logging.apache.org
        ReportedBy: shukla.shankar.ravi@gmail.com


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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic