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 Nate Drake <na...@evoxis.com> on 2002/06/09 20:47:37 UTC
JMS logging question
Hi,
I'm starting to look into using the JMSAppender to do logging, instead of
the JDBCAppender. I'm new to JMS stuff, so this might be a dumb question.
What type of message does the JMSAppender (or JMSQueueAppender from Scott
Ebersole) send whenever a message is logged?
Is it just a TextMessage? An ObjectMessage containing the LoggingEvent? Is
it configurable?
Thanks!
Nate
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JMS logging question
Posted by Steve Ebersole <st...@austin.rr.com>.
The message sent to the JMS destination (in either case) is a
javax.jms.ObjectMessage. The "embedded" object is of type
org.apache.log4j.spi.LoggingEvent.
Steve
----- Original Message -----
From: "Nate Drake" <na...@evoxis.com>
To: "Log4J Users List" <lo...@jakarta.apache.org>
Sent: Sunday, June 09, 2002 1:47 PM
Subject: JMS logging question
> Hi,
>
> I'm starting to look into using the JMSAppender to do logging, instead of
> the JDBCAppender. I'm new to JMS stuff, so this might be a dumb question.
> What type of message does the JMSAppender (or JMSQueueAppender from Scott
> Ebersole) send whenever a message is logged?
>
> Is it just a TextMessage? An ObjectMessage containing the LoggingEvent?
Is
> it configurable?
>
> Thanks!
>
> Nate
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>