2008/11/4 selezovikj <[EMAIL PROTECTED]>: > > 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/