logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: Recipients of email appender depending on log message, possible?
Date Mon, 16 Jul 2007 12:25:07 GMT
Look at the *Filter classes in
http://logging.apache.org/log4j/docs/api/org/apache/log4j/varia/package-summary.html
and then you can search on those class names.

On 7/15/07, David Lloyd <lloy0076@adam.com.au> wrote:
>
> Well,
>
> http://www.google.com.au/search?q=log4j-user+message+filtering
>
> ...lead me to this:
>
> http://permalink.gmane.org/gmane.comp.jakarta.log4j.user/12341
>
> ...at time of writing that's the second link.
>
> "Route all the events to both file appenders, and specify a different
> ExpressionFilter on each appender."
>
> I looked up "Expression Filters log4j" and they appear to be Log4J 1.3
> specific...
>
> DSL
>
> > I believe I have seen examples on the mailing list so there should be
> > examples in the archive.
> >
> > On 7/11/07, Hans Schwaebli <hans_schwaebli@yahoo.com> wrote:
> >> Come on... You know what I mean. I didn't find any good manual or
> >> tutorial freely available for log4j. And I searched for half an hour.
> >> Excuse me if I then dare to ask here. So if anyone can tell me, I
> >> would be glad.
> >>
> >>
> >> James Stauffer <stauffer.james@gmail.com> wrote: Did you search the
> >> mailing list archives, wiki, and javadocs?
> >>
> >> On 7/11/07, Hans Schwaebli  wrote:
> >> > It seems this is a solution. But I couldn't find a site where using
> >> log4j filters is described. Any idea?
> >> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


-- 
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message