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.

Regards,
Peter

PS - Here is my config for JMS.

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


********************************************************************

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

********************************************************************


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