Jason, I believe you want to use a BufferingForwardingAppender for this.
--Chris -----Original Message----- From: Young, Jason (GE Infrastructure) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 9:44 AM To: [email protected] Subject: Change logging level with a trigger We've been trying to get a certain type of logging working with no luck. We only want to log info messages and above, but if a warning or above is encountered, we want it to output the last x number of messages. The buffered file appender looks like it almost does this, but not quite. We've also been able to log all messages, but send an email on error messages with the buffer. Does someone have an example config file that I could see? If you need more clarification, or want to see where I got stuck, please let me know. Thanks, Jason
