Problem using SMTPAppender

2006-08-31 Thread Thomas Saxtoft
I have been fiddling with SMPTAppender for a day now, so now I give up.   My problem is that when logging to SMTPAppender it does not send any e-mails. The logger I use also logs to a file which works fine. I have been using a TCP monitor to see if anything goes thru port 25, but it never ge

AW: Problem using SMTPAppender

2006-08-31 Thread Patrick Wyss
1) i think you have to set TriggeringLevel. i m running with: log4j.appender.EMAIL=org.apache.log4j.net.SMTPAppender log4j.appender.EMAIL.layout=org.apache.log4j.PatternLayout log4j.appender.EMAIL.layout.ConversionPattern=%d %-5p [%t] %c - %m%n log4j.appender.EMAIL.threshold=DEBUG log4j.appender.EM

chainsaw for non-xml files

2006-08-31 Thread Patrick Wyss
is there any possibility to run chainsaw on non-xml logfiles? any plans to do implement something in this direction? without even taking a look into the source (shame on me) i have the impression that with the ConversionPattern it should be possible to do something... i just think that the xml fi

Re: Problem using SMTPAppender

2006-08-31 Thread Thomas Saxtoft
> 1) i think you have to set TriggeringLevel. I am using . I guess that's the same. > 2) just in case: are you sure you have a smtp running on you localhost? No I don't have a SMTP server at my localhost, but I tried to monitor port 25 on localhost and then forward any request to the company SMTP

AW: Problem using SMTPAppender

2006-08-31 Thread Patrick Wyss
> > 1) i think you have to set TriggeringLevel. > I am using . I guess that's the > same. no! TriggeringLevel: an event with this level (or higher) will trigger the sending of a new email which contains all events that have a level>=threshold > host. But my monitor program (TCPMon) does not get

Re: Problem using SMTPAppender

2006-08-31 Thread Thomas Saxtoft
> TriggeringLevel: an event with this level ... It seems like log4j does not recognize that property using xml configuration. Anyway I'm logging with priority "error". > ... if "telnet localhost 25" is connecting and ... you get an answer, then everything is OK. It works fine. > you do have mail.

Re: Problem using SMTPAppender

2006-08-31 Thread Thomas Saxtoft
Ok - I got the bastard. The culprit was some strange jar named geronimo-spec-j2ee-1.4-rc4.jar located in my classpath before j2ee.jar, which contained a complete java mail api. It is obviously buggy or some dummy implementation doing nothing but give one gray hair. Now I don't have to retire anym

RE: chainsaw for non-xml files

2006-08-31 Thread Scott Deboy
You can configure Chainsaw to use an org.apache.log4j.varia.LogFilePatternReceiver to process non-xml log files. There is also org.apache.log4j.chainsaw.vfs.VFSLogFilePatternReceiver, which extends LogFilePatternReceiver's capabilities by supporting the file systems available via the Apache J

re: Problem using SMTPAppender

2006-08-31 Thread Patrick Wyss
i just want to correct this for anyone reading this thread later: - triggeringLevel was an addition i wrote myself (as part of my authentificating SMTPAppender). it is not available in the standard SMTPAppender - in standard SMTP appender you can set the class name of the "EvaluatorClass" - the d

AW: chainsaw for non-xml files

2006-08-31 Thread Patrick Wyss
OK, thanks a lot. now it's close to fun hunting through my logs finding bugs ;-) the reasons it was not working for me at first were: - incorrect timesampFormat (my fault) - wrong filter expression (now i use an empty one) => no new tab was opened ?!? - if you like to use chainsaw.xml you have to

Re: Fixing pluginDirectory

2006-08-31 Thread C. Benson Manica
On Thu, Aug 31, 2006 at 07:52:23AM +1000, Paul Smith wrote: > security manager.Since there is a slim possibility of 'rogue' > code causing you problems if it was loaded we felt obligated to > inform you of the potential problem.The warning is probably > written more on the scary side