You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Bob Peterson (JIRA)" <ji...@apache.org> on 2006/05/12 20:03:08 UTC

[jira] Updated: (LOG4NET-76) TextWriterAdapter is not thread safe

     [ http://issues.apache.org/jira/browse/LOG4NET-76?page=all ]

Bob Peterson updated LOG4NET-76:
--------------------------------

    Attachment: TextWriterAdapter.cs

This is a possible fix for the problem, at least for the use case of the Xml formatter.  A stack is introduced to cope with the implicit push and pop of writers.

> TextWriterAdapter is not thread safe
> ------------------------------------
>
>          Key: LOG4NET-76
>          URL: http://issues.apache.org/jira/browse/LOG4NET-76
>      Project: Log4net
>         Type: Bug

>   Components: Core
>     Versions: 1.2.10
>  Environment: Windows XP Pro sp2 with .Net 2
>     Reporter: Bob Peterson
>     Priority: Minor
>  Attachments: TextWriterAdapter.cs
>
> When logging using the XmlAppender, our company application can generate overlapping appender calls.  TextWriterAppender is not thread safe.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira