logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: Logging previous messages based on current messages?
Date Sat, 30 Sep 2017 06:20:53 GMT
Sure, why not?

Ralph

> On Sep 29, 2017, at 6:19 PM, Sean McCauliff <sean.mccauliff@gmail.com> wrote:
> 
> I was looking at RoutingAppender. Is this a good class to look at if I
> wanted to implement a buffering appeder which calls other appenders?
> 
> On Wed, Sep 13, 2017 at 3:43 PM, Ralph Goers <ralph.goers@dslextreme.com <mailto:ralph.goers@dslextreme.com>>
wrote:
>> Please see https://issues.apache.org/jira/browse/LOG4J2-1137 <https://issues.apache.org/jira/browse/LOG4J2-1137>
<https://issues.apache.org/jira/browse/LOG4J2-1137 <https://issues.apache.org/jira/browse/LOG4J2-1137>>.
If that is along the lines of what you are looking for then feel free to comment there or
add yourself as a watcher. I know I will get to this sooner or later unless someone beats
me to it.
>> 
>> Ralph
>> 
>>> On Sep 13, 2017, at 3:14 PM, Sean McCauliff <sean.mccauliff@gmail.com>
wrote:
>>> 
>>> What I would like to do is to have some kind of filter that will
>>> filter log messages less than ERROR, but when an ERROR happens I would
>>> like the previous N messages emitted to the log.  Is there a way to do
>>> that?  If not then what would be the steps to implement that
>>> functionality?
>>> 
>>> Thanks,
>>> Sean
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>>> 
>>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org <mailto:log4j-user-unsubscribe@logging.apache.org>
> For additional commands, e-mail: log4j-user-help@logging.apache.org <mailto:log4j-user-help@logging.apache.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message