logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Händevik (JIRA) <j...@apache.org>
Subject [jira] [Commented] (LOG4NET-377) XmlConfigurator.ConfigureAndWatch is not backwards compatible to 1.2.10
Date Sat, 18 May 2013 08:51:15 GMT

    [ https://issues.apache.org/jira/browse/LOG4NET-377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13661321#comment-13661321

Dan Händevik commented on LOG4NET-377:

Correct me if I'm wrong, but the method that returns void is present in the 1.2.10 that i
added from the nuget feed (http://nuget.org/packages/log4net/1.2.10). Is this not your official
version of 1.2.10? is this a BETA version that has been put up on nuget?
> XmlConfigurator.ConfigureAndWatch is not backwards compatible to 1.2.10
> -----------------------------------------------------------------------
>                 Key: LOG4NET-377
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-377
>             Project: Log4net
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.11
>         Environment: .net 2 (and probably other versions as well
>            Reporter: Dan Händevik
>            Assignee: Dominik Psenner
>            Priority: Blocker
> The log4net.Config.XmlConfiguration method ConfigureAndWatch(FileInfo) differs from version
1.2.10 and 1.2.11.
> In 10 it has void as return value and in 1.2.11 it returns an ICollection.
> If I compile against 1.2.10 and then replaces the dll  with 1.2.11 and uses an assembly
redirect to use the newer version I'll get a runtime error stating
> Method not found: 'Void log4net.Config.XmlConfigurator.ConfigureAndWatch(System.IO.FileInfo)'.

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

View raw message