I started looking at the LF5 code, trying to familiarize myself with what I
might need to do to integrate SocketHubAppender support.  It took me a while
to figure out that there is an LF5Appender that is used to post the events
to the LogBrokerMonitor instance.  It took me even longer to realize that
there is no direct support for SocketAppender in LF5.  Instead it looks like
one is supposed to run a SocketServer that uses LF5Appender.  I am guessing
that when I do this, a LF5 window will appear (being automatically created
by the LF5Appender)?  That is rather clever if I understand this right.

So, are there any recommendations on how to go about adding support for
SocketHubAppender?  What if I wanted to connect a JMSAppender?  What if I
wanted to support different types of appenders all appending to the same LF5
window?

For Chainsaw, I took the approach of defining different types of receivers,
since Chainsaw acts like a SocketServer and directly integrates the
receiving of the logging events (it does not use an appender).

I wonder if there is not an opportunity to create a new class of object in
log4j? Maybe create a Receiver class that would receive remote logging
events and direct them into the "local" log environment, similar to
SocketServer.  But, they could be created or configured as log4j objects.

I'll have to think about it some more, but I would like to hear from others
about how to go about this.

-Mark


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to