activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Commons-logging conflict with failover
Date Tue, 04 Nov 2008 15:07:00 GMT
2008/11/4 selezovikj <semir.elezovic@gmail.com>:
>
> I am not sending ActiveMQ logging information to the JMS appender.
>
> __________________________________
> Logger messageLogger = Logger.getLogger("MSGSTATS");
> messageLogger.info("Client logs to 61617");
> __________________________________
>
> The MSGSTATS (in the log4j.properties) uses the MessageLog and the jms
> appender:
> ___________________________________________________
> log4j.category.MSGSTATS=DEBUG,MessageLog, jms
> log4j.additivity.MSGSTATS=false
> log4j.appender.MessageLog=biz.minaret.log4j.DatedFileAppender
> log4j.appender.MessageLog.Directory=../logs/
> log4j.appender.MessageLog.Prefix=msg${PROCESS}.
> log4j.appender.MessageLog.Suffix=.log
> log4j.appender.MessageLog.layout=org.apache.log4j.PatternLayout
> log4j.appender.MessageLog.layout.ConversionPattern=%d#%c{1}#STATS#%x%m%n
>
> log4j.appender.jms=org.apache.log4j.net.JMSAppender
> log4j.appender.jms.TopicBindingName=LoggingTopic
> log4j.appender.jms.topicConnectionFactoryBindingName=ConnectionFactory
> log4j.appender.jms.layout=org.apache.log4j.PatternLayout
> log4j.appender.jms.layout.ConversionPattern=%d#%c{1}#STATS#%x%m%n
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Can you please tell me what do you mean by ActiveMQ logging information ? Do
> you mean the information that the failover logs when it connects ?

Yes

> And what does this have to do with commons-logging ?

ActiveMQ uses commons-logging to log

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Mime
View raw message