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:29:03 UTC

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

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

Ralph Goers updated LOG4NET-645:
--------------------------------

LOG4NET is now dormant.  

> 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
>            Priority: Major
>         Attachments: image-2020-02-20-09-36-51-602.png, image-2020-02-20-09-38-02-734.png
>
>
> 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-20-09-36-51-602.png!
> All messages are logged using the "Info" level of the logger:
>  !image-2020-02-20-09-38-02-734.png!
>  



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