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 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW ------- Additional Comments From [EMAIL PROTECTED] 2007-09-09 23:24 ------- Issue is same even if custom filter is removed.The same issue is there with 3 applications. DailyRollingFileAppender is used to create log file. Log file is update every minute by application. Log file content is updated correctly but time stamp is showing inconsistent result. e.g: 1. Time stamp(Today, September 10, 2007, 11:24:53 AM) is not changed even if log file contents are changed most of the time. 2. Assuming at Today, September 10, 2007, 11:20:53 AM there where 1000 line of log entries and at Today, September 10, 2007, 11:30:53 AM 1000 more lines are added in the log file. 3. Log entries will be reflected correctly but time stamp for log file is inconsistent( Still it will show Today, September 10, 2007, 11:20:53 AM) Thanks Ravi (In reply to comment #0) > 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> (In reply to comment #1) > Sorry can't understand problem description and can't reproduce since you are using a custom filter. > Marking as NEEDINFO. -- 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]
