You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2014/02/20 14:40:21 UTC

[jira] [Updated] (LOG4NET-423) 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.

     [ https://issues.apache.org/jira/browse/LOG4NET-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig updated LOG4NET-423:
-----------------------------------

    Component/s: Appenders

> 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
>          Components: Appenders
>            Reporter: Vaishali Meshram
>              Labels: rolling
>
> <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&#x9;%-5p&#x9;%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)