Return-Path: Delivered-To: apmail-jakarta-log4j-user-archive@apache.org Received: (qmail 82669 invoked from network); 13 Feb 2002 18:32:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Feb 2002 18:32:58 -0000 Received: (qmail 20494 invoked by uid 97); 13 Feb 2002 18:32:56 -0000 Delivered-To: qmlist-jakarta-archive-log4j-user@jakarta.apache.org Received: (qmail 20468 invoked by uid 97); 13 Feb 2002 18:32:56 -0000 Mailing-List: contact log4j-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@jakarta.apache.org Received: (qmail 20453 invoked from network); 13 Feb 2002 18:32:55 -0000 Message-Id: <5.0.2.1.0.20020213192844.01cb9250@mail.qos.ch> X-Sender: cgu@mail.qos.ch X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Wed, 13 Feb 2002 19:33:20 +0100 To: "Log4J Users List" From: Ceki =?iso-8859-1?Q?G=FClc=FC?= Subject: Re: migrating from 1.1.3 to 1.2beta In-Reply-To: <5.0.2.1.2.20020213092516.00a7f3f8@camail.harvard.edu> References: <5.0.2.1.0.20020213001506.024b3478@mail.qos.ch> <5.0.2.1.2.20020212173752.00afa970@camail.harvard.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You are not respecting log4j.dtd. The errors have nothing to do with the log4j version. :-) You must declare appender elements, followed by category or logger elements, and the root element. HTH, Ceki At 09:32 13.02.2002 -0500, Edward Zarecor wrote: >I've attached a copy of the xml config file that is generating the=20 >errors. It's still logging by the way. The only difference is the errors= =20 >are spit out to standard out when I change which jar I'm point to. Thanks= =20 >for any help. > >Ed. > > >At 12:17 AM 2/13/2002 +0100, you wrote: >>Edward, >> >>Could you please provide the XML configuration file? It would make it= easier >>to deal with the problem you are encountering. Thanks, Ceki >> >>At 18:08 12.02.2002 -0500, Edward Zarecor wrote: >>>I'm trying to migrate some working code from log4j 1.1.3 to=20 >>>1.2beta. The source compiles fine, but I'm getting the following=20 >>>messages at runtime. I've noted changes to the .dtd, e.g., that class=20 >>>is not required, not implied. However, the dtd still allows category=20 >>>and appender tags inside tags. Does anyone know=20 >>>the source of these errors? Any help will be greatly appreciated. >>> >>>Ed. >>> >>>log4j:ERROR Parsing error on line 11 and column -1 >>>log4j:ERROR Element "log4j:configuration" does not allow "category" here. >>>log4j:ERROR Parsing error on line 16 and column -1 >>>log4j:ERROR Element "log4j:configuration" does not allow "appender" here. >>>log4j:ERROR Parsing error on line 24 and column -1 >>>log4j:ERROR Element "log4j:configuration" does not allow "appender" here. >> >>-- >>Ceki G=FClc=FC >> >> >> >>-- >>To unsubscribe, e-mail: = >>For additional commands, e-mail:= > > >-- >To unsubscribe, e-mail: = >For additional commands, e-mail:= -- Ceki G=FClc=FC -- To unsubscribe, e-mail: For additional commands, e-mail: