logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Zarecor <ezare...@camail.harvard.edu>
Subject Re: migrating from 1.1.3 to 1.2beta
Date Wed, 13 Feb 2002 18:50:28 GMT
Thanks for the quick response and sorry for overlooking the obvious.  This, 
of course, fixed the problem.

Ed.

At 07:33 PM 2/13/2002 +0100, you wrote:

>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 
>>errors.  It's still logging by the way.  The only difference is the 
>>errors are spit out to standard out when I change which jar I'm point 
>>to.  Thanks 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 
>>>>1.2beta.  The source compiles fine, but I'm getting the following 
>>>>messages at runtime.  I've noted changes to the .dtd, e.g., that class 
>>>>is not required, not implied.  However, the dtd still allows category 
>>>>and appender tags inside <log4j:configuration> tags.  Does anyone know

>>>>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ülcü
>>>
>>>
>>>
>>>--
>>>To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
>>>For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>
>>
>>
>>--
>>To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
>>For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>
>
>--
>Ceki Gülcü
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message