Socket-based appenders don't use layouts - they send serialized
LoggingEvent objects.

'do some processing' can be written as an appender.

You can 'exam the message' using a filter attached to the appender.

ExpressionFilter can examine the message and allow or prevent the
processing of the event by the appender.

Scott

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Rakesh Patel
Sent: Friday, September 09, 2005 12:49 PM
To: [email protected]
Subject: Reading from SocketHubAppender Programmatically

I would like to programmatically read from various SocketHubAppenders.
Reason is, I was to exam the message and them do some processing based
on the message.

I like to write a program to do this, would the best way be to somehow
use the SocketNode or another method is better? I'd like to preserve and
use the layout information that was passed along in the message from the
SocketHubAppender. 
Does anyone have a suggestion?

thanks
Rakesh



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


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

Reply via email to