On 21/02/2008, at 8:07 AM, bakermatt wrote:


What Logger does a receiver post its LoggingEvents to? I can't find it anywhere in the LoggerRepository and it's driving me crazy. I'm getting all the messages from the Receiver itself, but none of the messages that the Receiver is bringing in. I need to know what Logger to attach my Appender
to.


The event appears against the same logger that the original event was generated from.

My advice is to attach a simple ConsoleAppender to the root of the logger hierarchy and post a sample of the results you see, and flag which class of event you're interested in trapping in your custom appender. Please also attach your log4j configuration file that is configuring the Receiver and custom appender so we can help you.

cheers,

Paul

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

Reply via email to