I am having some errors being generated when i use
log4j 1.2. The error that is generated looks like this
:
log4j:ERROR Parsing error on line 3 and column 139
log4j:ERROR Attribute "disableOverride" must be
declared for element type "log4j:configuration".
log4j:ERROR Parsing error on line 3 and column 139
log4j:ERROR Attribute "configDebug" must be declared
for element type "log4j:configuration".
log4j:ERROR Parsing error on line 3 and column 139
log4j:ERROR Attribute "disable" must be declared for
element type "log4j:configuration".

The xml document seems to be ok. It looks like this :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration
xmlns:log4j="http://jakarta.apache.org/log4j/";
disableOverride="null" debug="null" configDebug="null"
disable="null">
  <appender name="STDOUT"
class="org.apache.log4j.ConsoleAppender">
    <layout class="org.apache.log4j.PatternLayout" />
    
  </appender>
  <root>
    <priority value="Debug" />
    <appender-ref ref="STDOUT" />
    
  </root>
  
</log4j:configuration>

The error states that I have not declared some
attributes which are clearly shown in the xml file. 
Can anyone tell me what I am doing wrong. I am using
Domconfigurator(configureAndWatch).
Thanks in advance

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

_______________________________________________
Gossip mailing list
[EMAIL PROTECTED]
http://jab.org/cgi-bin/mailman/listinfo/gossip

Reply via email to