You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Reg Sherwood <rs...@imagictv.com> on 2002/07/09 12:47:57 UTC

Log4j with EJBs

Hi,

I am looking for some advice on the best approach for setting up logging
within the EJB layer of a given application server.  Basically, I will have
a number of un related EARs, each of which will contain multiple EJBs.  I
want to enable logging a given EAR, not across the entire EJB layer.
Basically, given the following scenario:

XYZ.EAR
    EJB1.JAR
    EJB2.JAR

ABC.EAR
    EJB3.JAR
    EJB4.JAR

Now, for all applications using the beans in XYZ.EAR, I want to enable
logging.... without impacting ABC.EAR.  Ideally, I would use a property
configuration file (or XML) and set the given EAR to configure and watch for
changes.  Any thoughts on the best approach of handling this kind of
selective logging within an application server?

Thanks

Reg Sherwood




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>