logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schuweiler, Joel J." <Schuweiler.J...@mayo.edu>
Subject RE: jms appender
Date Fri, 08 Jul 2005 15:11:58 GMT
That's what I was thinking 

-----Original Message-----
From: Jubin Thomas Kuriakose [mailto:jubs@integerblr.com] 
Sent: Friday, July 08, 2005 9:56 AM
To: Log4J Users List
Subject: Re: jms appender

Ya I second that emotion...

So are you telling me to try it out this way

    <appender name="FatalAndWarn" class="org.apache.log4j.net.JMSAppender">
        <param name="InitialContextFactoryName" 
value="org.jnp.interfaces.NamingContextFactory"/>
        <param name="ProviderURL" value="jnp://192.168.0.101:1099"/>
        <param name="QueueBindingName" value="queue/LogQ"/>
        <param name="QueueConnectionFactoryBindingName" 
value="ConnectionFactory"/>
       
        <layout class="org.apache.log4j.PatternLayout">
              <param name="ConversionPattern" value="[%x] %d{ABSOLUTE} 
%-5p [%c{1}] %m%n"/>
        </layout>
    </appender>   

will try it out anyway and let you know
jubs

Schuweiler, Joel J. wrote:

>All the options get handled with <param name="" />
>
>One of my biggest gripes with the commercial manual for log4j is that for each of the
appenders they show no property or xml configuration examples which I think is key for people
new to log4j 
>
>-----Original Message-----
>From: Jubin Thomas Kuriakose [mailto:jubs@integerblr.com] 
>Sent: Friday, July 08, 2005 8:58 AM
>To: log4j-user@logging.apache.org
>Subject: jms appender
>
>Hi can anyone give me an example of a jms appender in xml configuration. 
>I searched a lot and couldnt find any.
>I did find a properties file.
>
>log4j.rootLogger=DEBUG, jms
>log4j.appender.jms=org.apache.log4j.net.JMSAppender
>log4j.appender.jms.InitialContextFactoryName=org.jnp.interfaces
>.NamingContextFactory
>log4j.appender.jms.ProviderURL=jnp://server:1099
>log4j.appender.jms.TopicBindingName=topic/testTopic
>log4j.appender.jms.TopicConnectionFactoryBindingName=ConnectionFactory
>
>but i would like the xml configuration
>
>any help is a welcome
>jubs
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message