Re: Log4j initialization with struts?

2003-12-03 Thread Jacob Kjome
>I don't remember receiving this error with the previous version of log4j. >Do I need to do something different? Maybe you should try an earlier version of Log4j and verify this statement. I'm guessing you'll get the same behavior. Try adding debug="true" to your below. Also, you probably sh

Log4j initialization with struts?

2003-12-03 Thread White, Joshua A (HTSC, CASD)
Hello all, I am receiving the following error message from log4j. WARNING: CORE3283: stderr: log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources). WARNING: CORE3283: stderr: log4j:WARN Please initialize the log4j system properly. I have place

RE: Log4j SMTP Appender Tomcat trouble

2003-12-03 Thread Shapira, Yoav
Howdy, Thanks for the correction Ceki ;) Xavier, you can set the SMTP appender threshold as you need, or provide an alternative TriggeringEventEvaluator. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jardin Xavier [mailto:[EMAIL PROTECTED] >Sent: Wednesday, Decembe

Re: Log4j SMTP Appender Tomcat trouble

2003-12-03 Thread Jardin Xavier
Thanks you're right I have sent an error message and this "unlock" all the other messages sent to the mail appender with a low level priority. Does it mean that even you put a debug level to the SMTP appender you have to send an error message to collect and send all the message previously log on it

RE: Log4j SMTP Appender Tomcat trouble

2003-12-03 Thread Ceki Gülcü
Yoav, Not exactly. SMTPAppender buffers logging request of all levels. Sending will be *triggered* by the arrival of a logging request of level ERROR. After the arrival of an error, the existing buffer will be send in an email message. Anyway, you were very much right to mention the dependence

RE: Log4j SMTP Appender Tomcat trouble

2003-12-03 Thread Shapira, Yoav
Howdy, You do know the SMTP appender by default will only send our ERROR and higher messages, right? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jardin Xavier [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 03, 2003 10:06 AM >To: Log4J Users List >Subject: Re:

Re: Log4j SMTP Appender Tomcat trouble

2003-12-03 Thread Jardin Xavier
I have removed from WEB-INF/lib the mail.jar, you're right it was already in CATALINA_HOME\common\lib but this modification has no effect. Log4j is configured using a properties file pass to the PropertyConfigurator.configure(.) method. The file is located in the Tomcat CATALINA_HOME\conf folder an

Re: Log4j SMTP Appender Tomcat trouble

2003-12-03 Thread Jacob Kjome
mail.jar shouldn't be in WEB-INF/lib as it is an endorsed library (anything java.* javax.*, org.xml.*, org.w3c.dom.*). Put it in CATALINA_HOME/common/lib or endorsed. This allows Tomcat to use the mail api as well as your apps and will avoid troubles when/if the JDK actually includes the mail

Log4j SMTP Appender Tomcat trouble

2003-12-03 Thread Jardin Xavier
Hello, I'm trying to use the SMTP Appender of log4j 1.2.8 with the following configuration : ### Logger Mail ( SMTP Appender ) log4j.logger.Mail=DEBUG, Mail log4j.appender.Mail=org.apache.log4j.net.SMTPAppender log4j.appender.Mail.BufferSize=4096 log4j.appender.Mail.From=zz [EMAIL PROTECTED] lo

Antwort: RE: Antwort: Re: Antwort: RE: timestamp in chainsaw v2

2003-12-03 Thread Ulrich . Kleeberger
that would be great. have a nice day or night? servus uli Paul Smith

RE: Antwort: Re: Antwort: RE: timestamp in chainsaw v2

2003-12-03 Thread Paul Smith
Yes, I know exactly what you mean, I'll add it to the list of things. THanks. Paul > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 3 December 2003 5:52 PM > To: Log4J Users List > Subject: Antwort: Re: Antwort: RE: timestamp in chainsaw v2 >