Eric,

Does SPXMLLayout have settable properties called Triggerable and LocationInfoOn? In 
other words, does it have the methods  setTriggerable(boolean) and 
setLocationInfoOn(boolean)? Regards, Ceki

At 15:55 07.05.2001 -0400, you wrote:
>Hi,
>
>I am trying to do an XML configuration and is having problem with setting
>parameters of my own Category subclass. Attached is the xml file and error
>message. Does anyone know the reason? Also, it is still necessary for my own
>Category subclass to implement OptionHandler interface?  Thanks.
>
>Eric
>
>
>log4j:WARN No such property [triggerable] in org.apache.log4j.Category.
>log4j:WARN No such property [locationInfoOn] in org.apache.log4j.Category.
>
>
>
><?xml version="1.0" encoding="UTF-8"?>
><log4j:configuration>
>     <appender name="FILE" class="org.apache.log4j.FileAppender">
>          <param name="File" value="D:/temp/app1.xml"/>
>          <param name="Append" value="false"/>
>          <layout class="sandp.comp.logging.SPXMLLayout"/>
>     </appender>
>     <appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
>          <layout class="sandp.comp.logging.SPXMLLayout"/>
>     </appender>
>     <category name="com.foo" additivity="false"
>class="sandp.comp.logging.SPLogger">
>          <param name="Triggerable" value="true"/>
>          <param name="LocationInfoOn" value="true"/>
>          <appender-ref ref="FILE"/>
>          <priority value="debug"/>
>     </category>
>     <root>
>          <priority value="debug"/>
>          <appender-ref ref="STDOUT"/>
>     </root>
></log4j:configuration>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]

--
Ceki Gülcü


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to