You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2020/04/04 22:30:04 UTC

[jira] [Updated] (LOG4NET-593) Log4net 'maximumFileSize' setting is not being regarded to roll-append to a new file

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

Ralph Goers updated LOG4NET-593:
--------------------------------

LOG4NET is now dormant.  

> Log4net 'maximumFileSize' setting is not being regarded to roll-append to a new file
> ------------------------------------------------------------------------------------
>
>                 Key: LOG4NET-593
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-593
>             Project: Log4net
>          Issue Type: Bug
>         Environment: Azure
>            Reporter: Aravinnd
>            Priority: Major
>
> Working on Azure Web Apps with subscriptions to AppService plans in West Europe.
> File size increases beyond what is setup in the log appender parameters. Here is the App.Config snippet in the project:
> <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
>  <file value="c:\LogFiles\PushDataWebJob\PushDataWebJoblog.log" />
>  <appendToFile value="true" />
>  <rollingStyle value="Size" />
>  <maxSizeRollBackups value="20" />
>  <maximumFileSize value="5MB" />
>  <staticLogFileName value="true" />
>  <preserveLogFileNameExtension value="true" />
>  <layout type="log4net.Layout.PatternLayout">
>  <conversionPattern value="%level %message %newline %exception------------------------------------------------%newline" />
>  </layout>
>  </appender>
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)