Wednesday, September 24, 2003 01:37 PM
I would like to use log4j for logging statements in my ejb components and also from a remote gui using theses beans wrapped in an API.
What do I need to do if I want to send all my log messages to a unique location on the application server? (also the log messages which are in the gui code)
Is the following a proper solution?
The gui sends logs with an appender sending to a home made MBean dedecated for receiving log messages via a topic. This MBean log then to the final location on the application server.
Thank you for your comments.