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 | 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