Can someone post an example of how to use log4j with EJB, please?
I have a simple example working, but I don't think I'm using it the
right way (I'm just using BasicConfigurator in my default ctor).
Some questions to go along with it:
What's the best way to integrate log4j with EJB?
Reading the log4j manual, it would be useful to be able
to initialize the log4j system with a properties file. Is
there an easy way to get a properties file via JNDI?
Can someone specify the steps on how exactly could this
be done? One can't put it under the "java:comp/env" context,
can you?
Ideally, one could specify a single log4j properties
file that could be used for all ejb instances - is this
possible?
TIA,
Glenn
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".