logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "FLYNN, Peter -Syntegra UK" <Peter.FL...@syntegra.com>
Subject RE: JMSAppender in XML Conf file
Date Tue, 01 Oct 2002 12:51:04 GMT
Hi Sloan,

I use File JNDI to access JMS in my application.  
You can use any sort of JNDI store to store your TopicConnectionFactory and
Topic, such as LDAP.


PS - Here is my config for JMS.

<appender name="JMS" class="org.apache.log4j.net.JMSAppender">
	<param name="TopicConnectionFactoryBindingName"
	<param name="TopicBindingName"
        	<param name="Threshold" value="WARN"/>
	<layout class="org.apache.log4j.PatternLayout">
  		<param name="ConversionPattern" value="[%-5p] [%d{DATE}]
[%C.%M] - %m%n"/>


This email may contain information which is privileged or confidential. If you are not the
intended recipient of this email, please notify the sender immediately and delete it without
reading, copying, storing, forwarding or disclosing its contents to any other person
Thank you

Check us out at http://www.syntegra.com


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message