activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manish_goyal <manishkumar_go...@infosys.com>
Subject JMSAppender configuration
Date Fri, 07 Nov 2008 05:24:12 GMT

Hi,

I need to configure my log4j.xml file to log into ActiveMQ JMS queue.
I have configured my java class file as logger using following settings:-
static Logger myLogger = Logger.getLogger(MyClass.class.getName());
myLogger.setLevel(Level.INFO);
myLayout= new SimpleLayout();
myAppender= new JMSAppender();
myLogger.addAppender(myAppender);

Please tell me the configuration of log4j.xml file to log into ActiveMQ JMS
queue.

Please reply me soon.

Thanks a lot.

Regards,
Manish
-- 
View this message in context: http://www.nabble.com/JMSAppender-configuration-tp20374948p20374948.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message