Re: Recipients of email appender depending on log message, possible?

2007-07-11 Thread James Stauffer
I believe I have seen examples on the mailing list so there should be examples in the archive. On 7/11/07, Hans Schwaebli <[EMAIL PROTECTED]> 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

Re: Chainsaw

2007-07-11 Thread Paul Smith
On 12/07/2007, at 7:08 AM, Braught, Debi Lyn wrote: Does anyone have or know where to get the lastest source code for Chainsaw v2? I didn't see the source code included in the lastest log4j bits. I only find the source code for Chainsaw v1. http://svn.apache.org/repos/asf/logging/chainsa

Chainsaw

2007-07-11 Thread Braught, Debi Lyn
Does anyone have or know where to get the lastest source code for Chainsaw v2? I didn't see the source code included in the lastest log4j bits. I only find the source code for Chainsaw v1. Debi Braught Software Engineer [EMAIL PROTECTED] Graphics Imaging Business

RE: Recipients of email appender depending on log message, possible?

2007-07-11 Thread Scott Deboy
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 Sc

Re: Recipients of email appender depending on log message, possible?

2007-07-11 Thread Hans Schwaebli
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 <[EMAIL PROTECTED]> wrote: Did you search the mailing list arc

Re: Recipients of email appender depending on log message, possible?

2007-07-11 Thread James Stauffer
Did you search the mailing list archives, wiki, and javadocs? On 7/11/07, Hans Schwaebli <[EMAIL PROTECTED]> wrote: It seems this is a solution. But I couldn't find a site where using log4j filters is described. Any idea? James Stauffer <[EMAIL PROTECTED]> wrote: You might be able to achiev

RE: log4cxx

2007-07-11 Thread Scott Deboy
I believe a socket appender which sends logging events conforming to log4j's DTD was developed for log4cxx (on the Chainsaw side, set up an XMLSocketReceiver). You could also write your logs to a text file and process the log file in Chainsaw using LogFilePatternReceiver. Scott Deboy Principal

Re: Recipients of email appender depending on log message, possible?

2007-07-11 Thread Hans Schwaebli
It seems this is a solution. But I couldn't find a site where using log4j filters is described. Any idea? James Stauffer <[EMAIL PROTECTED]> 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

Re: Silencing log4j Mystery Output

2007-07-11 Thread Tom Purl
On Mon, July 9, 2007 5:23 pm, Paul Smith wrote: > > On 10/07/2007, at 7:51 AM, Tom Purl wrote: > >> I'm writing a simple java program that uses a third-party, >> proprietary library. If I don't place any log4j-related code in my >> program and run it, I get the following output every time: >> >>

Re: Recipients of email appender depending on log message, possible?

2007-07-11 Thread James Stauffer
You might be able to achieve that with an appender filter. On 7/11/07, Hans Schwaebli <[EMAIL PROTECTED]> 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. Depen

Security Exceptions in Microsoft legacy VMs

2007-07-11 Thread Vincent Cheesbrough
Hi all, I am developing an applet that is deployed to the Microsoft virtual machine and get quite a few security exceptions in the Java Console, they all seem related to reading system properties, from looking at the log4j-1.2.14source it seems that these exceptions are not harmful (OptionConvert

log4cxx

2007-07-11 Thread Cheung, Quinn
Does anyone know if we can send log messages to Chainsaw from a log4cxx client? I haven't looked at it in detail, but is there a socketHubAppender with log4cxx and are the objects written to the socket compatible with what is read from chainsaw? ---

Recipients of email appender depending on log message, possible?

2007-07-11 Thread Hans Schwaebli
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