Re: Any thoughts on RollingFlumeAppender

2013-02-14 Thread Yogi Nerella
Ralph, If FailoverAppender could do that, that would be ideal. Thanks for your time. Yogi On Thu, Feb 14, 2013 at 10:52 AM, Ralph Goers wrote: > What you are asking for is essentially the Flume embedded appender. > However, since Flume has so many dependencies I could understand why you > wou

Re: how to search and replace message text in outgoing log messages?

2013-02-14 Thread Robert Kleemann
I ended up writing a class that extends PatternLayout and it seems to work. Here it is in case anyone else needs it. package org.scharp.util; import org.apache.log4j.PatternLayout; import org.apache.log4j.spi.LoggingEvent; /** * * This class is a drop in replacement for a log4j PatternLayout

Re: Any thoughts on RollingFlumeAppender

2013-02-14 Thread Ralph Goers
What you are asking for is essentially the Flume embedded appender. However, since Flume has so many dependencies I could understand why you would want to do this. Would making RollingFileAppender not be final actually buy you anything? You would have to provide your own PluginFactory method

Re: how to set to RollingFileAppender interval to 5 minutes.

2013-02-14 Thread Ralph Goers
You should be able to set the pattern to include minutes and then specify the interval on the TriggeringPolicy. If you set it to 5 then it should roll every 5 minutes. If you specify modulate as true then it will occur on the 5, 10, 15, etc minute of the hour. Ralph On Feb 14, 2013, at 9:55