I am using the JMSAppender/JMSSink combination.  The JMSSink is receiving
the LoggingEvents, but is producing the following output:
   
    2001-02-21 16:14:17,760 DEBUG [main] ? (?:?) - Debug

Strange thing is that it works when I add a FileAppender to root *before*
the JMSAppender.  This only works if the FileAppender is before the
JMSAppender!

<root> 
  <appender-ref ref="STDOUT"/>  // this is a FileAppender
  <appender-ref ref="JMSAppender1"/>
<root>

Here are my appenders:

<appender name="STDOUT" class="org.apache.log4j.FileAppender">
    <param name="File" value="System.out"/>
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%d %-5p [%t] %C{2} (%F:%L) -
%m\n"/>
    </layout>
  </appender>
  <appender name="JMSAppender1" class="org.apache.log4j.net.JMSAppender">
    <param name="TopicConnectionFactoryBindingName"
value="javax.jms.TopicConnectionFactory"/>
    <param name="TopicBindingName" value="LOG"/>
 </appender>

I am running with "-classic".


Thanks

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

Reply via email to