[
https://issues.apache.org/jira/browse/LOG4NET-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14269738#comment-14269738
]
Priyabrata Baral commented on LOG4NET-449:
------------------------------------------
Not sure about this rolling mode, I believe its not set. The syntax is as below:
Also its failing to append intermittently not always. So its not clear why its
not append most of the times.
<appender name="RollingFileAppender"
type="log4net.Appender.RollingFileAppender">
<file value="G:\Program Files\Optimal
IdM\_TraceLogging\VISServer.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="30MB" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern"
value="%date{ISO8601} [%thread] %-5level[%logger].%message%newline"/>
> RollingFileAppender is not working correctly.
> ---------------------------------------------
>
> Key: LOG4NET-449
> URL: https://issues.apache.org/jira/browse/LOG4NET-449
> Project: Log4net
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 1.2.11
> Environment: Circular logging is enabled through Log4net in Virtual
> directory Service Environment.
> Reporter: Priyabrata Baral
> Assignee: Dominik Psenner
>
> We have one circulat logging enabled through Log4net. However we can see
> there is a discontinuity in logging(i.e: inbetween some of the logs not
> found).
> Also we can see logs are getting generated, however not getting appended
> correctly. And we are getting below error in Log4net file:
> log4net:ERROR RollingFileAppender: INTERNAL ERROR. Append is False but
> OutputFile [G:\Program Files\Optimal IdM\_TraceLogging\VISServer.log] already
> exists.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)