[ 
https://issues.apache.org/jira/browse/LOG4NET-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14268922#comment-14268922
 ] 

Dominik Psenner commented on LOG4NET-449:
-----------------------------------------

Have you set the rolling mode to Once? Only then the appendToFile flag is 
overridden with false, since appending would make no sense. In this mode the 
file is rolled once on startup and if there is for example a permission problem 
such that the file cannot be rolled it may lead to subsequent errors.

> 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)

Reply via email to