16 messages in org.apache.logging.log4j-userRe: Recipients of email appender depe...
FromSent OnAttachments
Hans SchwaebliJul 4, 2007 6:55 am 
James StaufferJul 5, 2007 7:10 am 
Hans SchwaebliJul 11, 2007 2:20 am 
James StaufferJul 11, 2007 7:52 am 
Hans SchwaebliJul 11, 2007 8:12 am 
James StaufferJul 11, 2007 8:36 am 
Hans SchwaebliJul 11, 2007 12:30 pm 
Scott DeboyJul 11, 2007 1:06 pm 
James StaufferJul 11, 2007 7:31 pm 
Hans SchwaebliJul 12, 2007 4:42 am 
Scott DeboyJul 12, 2007 11:01 am 
Hans SchwaebliJul 13, 2007 3:14 am.java
David LloydJul 15, 2007 9:35 pm 
James StaufferJul 16, 2007 5:24 am 
ben shortJul 25, 2007 9:26 am 
ben shortJul 25, 2007 9:32 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Recipients of email appender depending on log message, possible?Actions...
From:James Stauffer (stau@gmail.com)
Date:Jul 16, 2007 5:24:44 am
List:org.apache.logging.log4j-user

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 <lloy@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@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 <stau@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?