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 dj...@javtech.com on 2001/02/16 17:05:36 UTC
Question about logging in EJB
I am developing logging functionality for an EJB application. My
application will be running in a clustered environment, but I want to keep
one central log file. My first thought was to send the logging information
to a central JMS queue. A central listener would then get all of the log
messages, and log them to file, etc.
I see that you have a JMSAppender, but I have not been able to find any
documentation or examples. My understanding is that the appender will route
the output of the logging to JMS instead of a file, etc. If this is the
case I will need a second simpler "logger" in the JMS listener to write the
data to file, etc. Should I use log4j two times??
I am curious if anyone else has solved this problem in a cool way.
Thanks in advance,
Daniel Jacobson
Re: Question about logging in EJB
Posted by Christopher Taylor <cs...@pacbell.net>.
On 2/16/01 8:05 AM, "djacobson@javtech.com" <dj...@javtech.com> wrote:
> I am developing logging functionality for an EJB application. My
> application will be running in a clustered environment, but I want to keep
> one central log file. My first thought was to send the logging information
> to a central JMS queue. A central listener would then get all of the log
> messages, and log them to file, etc.
>
> I see that you have a JMSAppender, but I have not been able to find any
> documentation or examples. My understanding is that the appender will route
> the output of the logging to JMS instead of a file, etc. If this is the
> case I will need a second simpler "logger" in the JMS listener to write the
> data to file, etc. Should I use log4j two times??
>
> I am curious if anyone else has solved this problem in a cool way.
>
> Thanks in advance,
>
> Daniel Jacobson
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-user-help@jakarta.apache.org
>
>
What EJB vendor are you using? Weblogic has logging API's that looks
mysteriously like an older version of Log4J... ;)
-Chris