wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes AsyncAppender in log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "AsyncAppender in log4j" Watch "AsyncAppender in log4j" New topic
Author

AsyncAppender in log4j

Ram Doss
Greenhorn

Joined: Mar 28, 2003
Posts: 6
Hi,
How do I add appenders to AsyncAppender so that I can direct some log data to be dispatch to FileAppender while other dispatch to JSMAppender..??
i.e. in my Source
JMSAppender jmsAppender = new JMSAppender();
AsyncAppender asyncAppender = new AsyncAppender();
asyncAppender.addAppender(jmsAppender);
logger.addAppender(asyncAppender);

but it actually not dispatching to JMS Queue which attached to the JMSAppender.
Any suggestions.....???
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AsyncAppender in log4j
 
Similar Threads
Configuring JMSAppender in JBoss
JMSAppender and jboss.
JMSAppender and logging
Log4j - JMSAppender - ActiveMQ - JNDI
JMSappender onMessage(Message message) in MDB