logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Psenner (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LOG4NET-343) ArgumentOutOfRangeException in log4net hierarchy on "." logger name
Date Sat, 26 May 2012 14:11:23 GMT

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

Dominik Psenner updated LOG4NET-343:
------------------------------------

    Attachment: LOG4NET-343.patch

Unfortunately you did not provide a test case. Would you please check if this patch solves
this issue?
                
> ArgumentOutOfRangeException in log4net hierarchy on "." logger name
> -------------------------------------------------------------------
>
>                 Key: LOG4NET-343
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-343
>             Project: Log4net
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.11
>         Environment: Windows 32 bit, .NET 3.5 SP 1
>            Reporter: Dmitri Tchikine
>            Assignee: Dominik Psenner
>            Priority: Minor
>         Attachments: LOG4NET-343.patch
>
>
> While configuring a logger with name ".", however wrong it may be, I stampled on uncaught
exception.
> "Index was out of range. Must be non-negative and less than the size of the collection.
> Parameter name: startIndex"
> The problem code is at the first executable code line of UpdateParents(Logger log) method
> of log4net.Repository.Hierarchy.Hierarchy class.
> I am sure there is an easy fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message