logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bradley Ward <Bradley.W...@turnpoint-solutions.com>
Subject XmlHierarchyConfigurator "Undefined level" Error Message
Date Thu, 07 Jan 2010 21:50:59 GMT
Hello,

I am getting the following error when I call the  XmlConfigurator.ConfigureAndWatch(configfile)
method:

log4net:ERROR XmlHierarchyConfigurator: Undefined level [] on Logger [MyCompany.MyClass].

The entry in my config file is as follows, which looks correct to me!

                  <logger name="MyCompany.MyClass">
                    <level>DEBUG</level>
                  </logger>

I am using log4net version 1.2.10.

Any ideas what could be wrong?

Thanks,

Brad

Mime
View raw message