View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820799#3820799

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820799

I'm a new user trying to figure out if it's possible to intercept all logging and 
tracing events generated by both my EJBs in JBoss, and by JBoss itself and then 
forward them on to both Log4j and a different logger used by our product.  



I've read about the Logging Framework in Chapter 10 of the 3.2.x Administration and 
Development documentation.  



It seems this should be possible by implementing LoggerPlugin and calling both 
Log4jLoggerPlugin and my logger from the methods.



My 1st step was going to be to try to replace the standard Lo4j logger with the 
NullLoggerPlugin as this section of the documentation describes.  However, I can't 
figure out how to follow the following direction from page 557 of the documentation -



"To integrate an alternate logging implementation, you would provide an implementation 
of the LoggerPlugin interface and specify that it should be used by setting the 
org.jboss.logging.Logger.pluginClass system property to implementation class name."



Is what I need to do feasible?



How do you replace the default logger?



Thanks.



Ken Hohl

Apropos Technology

[EMAIL PROTECTED]


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to