Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 68948 invoked from network); 7 Jan 2010 21:51:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2010 21:51:32 -0000 Received: (qmail 1604 invoked by uid 500); 7 Jan 2010 21:51:31 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 1535 invoked by uid 500); 7 Jan 2010 21:51:30 -0000 Mailing-List: contact log4net-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET User" List-Id: Delivered-To: mailing list log4net-user@logging.apache.org Received: (qmail 1526 invoked by uid 99); 7 Jan 2010 21:51:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 21:51:30 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Bradley.Ward@turnpoint-solutions.com designates 207.5.72.94 as permitted sender) Received: from [207.5.72.94] (HELO exhub015-2.exch015.msoutlookonline.net) (207.5.72.94) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 21:51:21 +0000 Received: from EXVMBX015-6.exch015.msoutlookonline.net ([207.5.72.76]) by exhub015-2.exch015.msoutlookonline.net ([207.5.72.94]) with mapi; Thu, 7 Jan 2010 13:50:59 -0800 From: Bradley Ward To: "Log4net Users List (log4net-user@logging.apache.org)" Date: Thu, 7 Jan 2010 13:50:59 -0800 Subject: XmlHierarchyConfigurator "Undefined level" Error Message Thread-Topic: XmlHierarchyConfigurator "Undefined level" Error Message Thread-Index: AcqP5Do1PvNjRkD2SwaEegYcACG6UQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_B2DAE399C6643E4D994F93C051B5EC9E4E8AC58EB5EXVMBX0156exc_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_B2DAE399C6643E4D994F93C051B5EC9E4E8AC58EB5EXVMBX0156exc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, I am getting the following error when I call the XmlConfigurator.Configure= AndWatch(configfile) method: log4net:ERROR XmlHierarchyConfigurator: Undefined level [] on Logger [MyCom= pany.MyClass]. The entry in my config file is as follows, which looks correct to me! DEBUG I am using log4net version 1.2.10. Any ideas what could be wrong? Thanks, Brad --_000_B2DAE399C6643E4D994F93C051B5EC9E4E8AC58EB5EXVMBX0156exc_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

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

 

log4net:ERROR XmlHierarchyConfigurator: Undefined leve= l [] on Logger [MyCompany.MyClass].

 

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

 

         =          <logger name=3D"MyCompany.MyClass">

         =            <level>DEBUG&= lt;/level>

         =          </logger>

 

I am using log4net version 1.2.10.

 

Any ideas what could be wrong?

 

Thanks,

 

Brad

--_000_B2DAE399C6643E4D994F93C051B5EC9E4E8AC58EB5EXVMBX0156exc_--