Hi Jacob:
Thanks very much.
Sometimes you can't see whats right in front of you!
John
Jacob Kjome wrote:
At 07:11 PM 1/20/2006 -0700, you wrote:
>I am using an XML config file (posted below). I always get the following
>error message when starting the application:
>
>log4j:ERROR Parsing error on line 2 and column 83
>log4j:ERROR Document root element "log4j:configuration", must match
DOCTYPE
>root "null".
>log4j:ERROR Parsing error on line 2 and column 83
>log4j:ERROR Document is invalid: no grammar found.
>
>It doesnt appear to affect anything, but its annoying. Anyone know how to
>fix or get rid of message?
Try adding this to the second line (the line below <?xml ...?>)...
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
>
>Thanks!
>
><?xml version="1.0" encoding="UTF-8" ?>
><log4j:configuration debug="false"
>xmlns:log4j='http://jakarta.apache.org/log4j/'>
>
> <appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
> <param name="Threshold" value="WARN" />
> <layout class="org.apache.log4j.PatternLayout">
> <param name="ConversionPattern" value="%-5p %c : %m %d{yyyy-MM-dd
>HH:mm:ss.SSS} [%10r] %n"/>
> </layout>
> </appender>
>
> <logger name="ucar">
> <level value="WARN"/>
> </logger>
>
> <root>
> <level value="WARN"/>
> <appender-ref ref="STDOUT"/>
> </root>
>
></log4j:configuration>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]