

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
16 messages in org.apache.logging.log4j-userRE: Recipients of email appender depe...| From | Sent On | Attachments |
|---|---|---|
| Hans Schwaebli | Jul 4, 2007 6:55 am | |
| James Stauffer | Jul 5, 2007 7:10 am | |
| Hans Schwaebli | Jul 11, 2007 2:20 am | |
| James Stauffer | Jul 11, 2007 7:52 am | |
| Hans Schwaebli | Jul 11, 2007 8:12 am | |
| James Stauffer | Jul 11, 2007 8:36 am | |
| Hans Schwaebli | Jul 11, 2007 12:30 pm | |
| Scott Deboy | Jul 11, 2007 1:06 pm | |
| James Stauffer | Jul 11, 2007 7:31 pm | |
| Hans Schwaebli | Jul 12, 2007 4:42 am | |
| Scott Deboy | Jul 12, 2007 11:01 am | |
| Hans Schwaebli | Jul 13, 2007 3:14 am | .java |
| David Lloyd | Jul 15, 2007 9:35 pm | |
| James Stauffer | Jul 16, 2007 5:24 am | |
| ben short | Jul 25, 2007 9:26 am | |
| ben short | Jul 25, 2007 9:32 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread 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: | Scott Deboy (sde...@comotivsystems.com) | |
| Date: | Jul 11, 2007 1:06:20 pm | |
| List: | org.apache.logging.log4j-user | |
There aren't any good examples of the filter syntax that I could find.
Here's a link where someone's doing something similar. Note, you chain filters one after another, so sometimes you may need to end the chain with a DenyAllFilter.
http://www.webdeveloper.com/forum/showthread.php?t=91074
Scott Deboy Principal Engineer COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Office: 503.224.7496 Direct Line: 503.821.6482 Cell: 503.997.1367 Fax: 503.222.0185 sde...@comotivsystems.com www.comotivsystems.com
-----Original Message----- From: Hans Schwaebli [mailto:hans...@yahoo.com] Sent: Wednesday, July 11, 2007 12:30 PM To: Log4J Users List Subject: Re: Recipients of email appender depending on log message, possible?
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?
James Stauffer wrote: You might be able to achieve that with an appender filter.
On 7/11/07, Hans Schwaebli wrote:
I want to send a email depending on the log text. I add the terminal
ID to the log text, which is the one of the user who caused the exception, which is logged at error level. Depending on that ID (or a regular expression) I want to send the email to certain recipients.
Does this work with log4j configuration out of the box? What is the solution for this?
--------------------------------- Yahoo! oneSearch: Finally, mobile search that gives answers, not web
links.
-- James Stauffer http://www.geocities.com/stauffer_james/ Are you good? Take the test at http://www.livingwaters.com/good/
--------------------------------------------------------------------- To unsubscribe, e-mail: log4...@logging.apache.org For additional commands, e-mail: log4...@logging.apache.org
--------------------------------- Got a little couch potato? Check out fun summer activities for kids.
-- James Stauffer http://www.geocities.com/stauffer_james/ Are you good? Take the test at http://www.livingwaters.com/good/
--------------------------------------------------------------------- To unsubscribe, e-mail: log4...@logging.apache.org For additional commands, e-mail: log4...@logging.apache.org
--------------------------------- Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.








.java