dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]Log4Net problem (IsAssignableFrom)


From: David Podhola
Subject: [DotGNU]Log4Net problem (IsAssignableFrom)
Date: Sun, 2 Nov 2003 20:10:54 +0100

Hi all,

While trying to use log4net to log some deployment problems (microsoft
.net -> dotgnu) I have found that Log4Net is not working on dotgnu,
because of 'Type.IsAssignableFrom' check in class
'log4net.spi.DefaultRepositorySelector'.

Code in log4net:
typeof(ILoggerRepository).IsAssignableFrom(log4net.Repository.Hierarchy.
Hierarchy) returns 'false', but 

public class Hierarchy : LoggerRepositorySkeleton,
IBasicRepositoryConfigurator, IDOMRepositoryConfigurator

where

public abstract class LoggerRepositorySkeleton : ILoggerRepository

Should not the check return 'true'? The whole log4net seems to work
after commenting this check out ...

David Podhola


reply via email to

[Prev in Thread] Current Thread [Next in Thread]