Vaishali Meshram created LOG4NET-423:
----------------------------------------
Summary: The logs don’t appear working correctly. New logs are
created at 12:00PM EST every day. This is in addition to the Recycle and new
log creation at 12:00 AM EST. We are losing log entries from 12:00AM to
11:59AM.
Key: LOG4NET-423
URL: https://issues.apache.org/jira/browse/LOG4NET-423
Project: Log4net
Issue Type: Bug
Reporter: Vaishali Meshram
<log4net debug="true">
<appender name="MyRollingFile" type="log4net.Appender.RollingFileAppender">
<param name="File" value="Logs\\Filename.xls" />
<param name="AppendToFile" value="true" />
<param name="MaximumFileSize" value="20MB" />
<param name="MaxSizeRollBackups" value="20" />
<rollingStyle value="Composite" />
<datePattern value="yyyyMMdd" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<header value="DateTime\tType\tUserID\tBusinessUnitID\tOperatingUnitID\tUser
City\tUser State\tUser Country\tServer Name\tPage Name\tTime
ms\tTicket\tMethod\tError\tError Details\tAddtional Error\tAddtional Error
Details\tQuery Filters\tDuration Time ms\n" />
<param name="ConversionPattern" value="%d	%-5p	%m%n" />
</layout>
</appender>
<root>
<!-- Logging Level: ALL, DEBUG, INFO, WARN, ERROR, FATAL -->
<!--<level value="ERROR" />
<level value="INFO" />-->
<level value="ALL"/>
<appender-ref ref="MyRollingFile" />
</root>
</log4net>
Above is my log4net configuration values.. My issue is that when I am trying to
rolled file. the files are in this format filename.xls20140219,
filename.xls20140219.1,........filename.xls20140219.20. It is working fine till
12 AM. But its lost some log entries in between 12 AM to 11.59 AM. Please tell
me what is the issue with me. Anything wrong in config file.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)