logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sicker <boa...@gmail.com>
Subject Re: Non blocking JMS appender
Date Wed, 02 Apr 2014 23:20:02 GMT
It would be in log4j2! As far as I know, that is.


On 2 April 2014 12:00, Mohit Anchlia <mohitanchlia@gmail.com> wrote:

> I am trying to configure log4j such that the jms appender is non blocking.
> Does this configuration make it non blocking?
>
>    <appender name="async" class="org.apache.log4j.AsyncAppender">
>         <param name="BufferSize" value="4096" />
>         <param name="blocking" value="false"/>
>     </appender>
>
>     <appender name="search-indexer-async-jms"
> class="org.apache.log4j.net.JMSAppender">
>         <param name="InitialContextFactoryName"
> value="org.apache.activemq.jndi.ActiveMQInitialContextFactory" />
>         <param name="ProviderURL" value="tcp://localhost:61616"/>
>         <param name="TopicBindingName" value="indexTopicEndpoint"/>
>         <param name="TopicConnectionFactoryBindingName"
> value="ConnectionFactory"/>
>
>         <appender-ref ref="async" />
>     </appender>
>



-- 
Matt Sicker <boards@gmail.com>

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