File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes AsyncAppender in log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: AsyncAppender in log4j
 
Similar Threads
JMSAppender and logging
Configuring JMSAppender in JBoss
JMSAppender and jboss.
JMSappender onMessage(Message message) in MDB
Log4j - JMSAppender - ActiveMQ - JNDI