You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Mario Puglisi (Jira)" <ji...@apache.org> on 2020/02/19 17:17:00 UTC

[jira] [Created] (LOG4NET-645) Issue involving RollingFileAppender internal error

Mario Puglisi created LOG4NET-645:
-------------------------------------

             Summary: Issue involving RollingFileAppender internal error
                 Key: LOG4NET-645
                 URL: https://issues.apache.org/jira/browse/LOG4NET-645
             Project: Log4net
          Issue Type: Bug
    Affects Versions: 2.0.8
         Environment: Windows 10
            Reporter: Mario Puglisi


We're getting random errors when using Log4net to log our kafka implementation messages, the errors are shown directly at console level, showing a message as the following:
{code:java}
log4net:ERROR RollingFileAppender: INTERNAL ERROR. Append is False but OutputFile [Destination of log.txt] already exists
{code}
The thing is that all our loggers are retrieved using an static implementation, where the "AppendToFile" option is true, it is also strange that the error happens after the logger had rolled over 3 or 4 backup files. 

It also appears to be somewhat writing to the file, even after the mentioned error occurs, because I have conducted tests deleting the log file mentioned in the error and it recreates the file and slowly fills it with the log data. Our concern is that some relevant data might be missing from the logs whenever the errors show up.

Our C# logger implementation: 
!image-2020-02-19-18-02-45-355.png!


All messages are logged as "Info":
!image-2020-02-19-18-13-15-761.png!

 



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