You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Tom Judge (Jira)" <ji...@apache.org> on 2021/12/09 17:37:00 UTC
[jira] [Created] (LOG4NET-681) RollingFileAppender thread safety issue
Tom Judge created LOG4NET-681:
---------------------------------
Summary: RollingFileAppender thread safety issue
Key: LOG4NET-681
URL: https://issues.apache.org/jira/browse/LOG4NET-681
Project: Log4net
Issue Type: Bug
Components: Appenders
Affects Versions: 1.2.15, 1.2.14, 1.2.13, 1.2.12, 1.2.11, 1.2.10
Reporter: Tom Judge
It seems there is a thread safety issue in :
{code:java}
protected void RollOverTime(bool fileIsOpen){code}
Where the file can be closed outside of a critical section allowing another thread to attempt to write data on a closed file handle leading to this err:
{code:java}
log4net:ERROR [FileAppender] Attempted to append to closed appender named [].{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)