[
https://issues.apache.org/jira/browse/LOG4NET-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carlos Muñoz Rodriguez updated LOG4NET-390:
-------------------------------------------
Description:
log4net.Appender.AppenderCollection.ReadOnlyAppenderCollection does not
override ToArray().
As a consequence ToArray calls returns always empty arrays.
Fix:
public override IAppender[] ToArray()
{
return m_collection.ToArray();
}
was:
log4net.Appender.AppenderCollection.ReadOnlyAppenderCollection does not
override ToArray().
As a consequence ToArray calls returns always empty collections.
Fix:
public override IAppender[] ToArray()
{
return m_collection.ToArray();
}
> ReadOnlyAppenderCollection.ToArray returns empty array
> ------------------------------------------------------
>
> Key: LOG4NET-390
> URL: https://issues.apache.org/jira/browse/LOG4NET-390
> Project: Log4net
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 1.2.9, 1.2.10, 1.2.11, 1.2.12
> Reporter: Carlos Muñoz Rodriguez
> Priority: Minor
> Labels: easyfix, patch
>
> log4net.Appender.AppenderCollection.ReadOnlyAppenderCollection does not
> override ToArray().
> As a consequence ToArray calls returns always empty arrays.
> Fix:
> public override IAppender[] ToArray()
> {
> return m_collection.ToArray();
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira