Howdy, One possible approach is to write a TriggeringEventEvaluator that looks for your key/value pair in the MDC of the logging event, and if present permits the event to be sent via email. Your servlet would add this key/value pair to the MDC if it's received as a post parameter.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Jeb Scarbrough [mailto:[EMAIL PROTECTED] >Sent: Monday, January 26, 2004 11:58 AM >To: [EMAIL PROTECTED] >Subject: SMTPAppender > >I am wanting to send all logs messags via email when i send POST a certain >key-value pair to my servlet. In essence, allowing me to see a debug log >of >one specific request. I'm new with log4j and havent found much on this in >the archives. has anyone tried to do this? is it possible? would what be >a >good starting point to accomplishing something like this? > >Thanks. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
