Howdy, Please don't cross-post. We saw this and Jacob Kjome answered it on the log4j-user mailing list. I have some comments on his response and will post them there.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Jardin Xavier [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 03, 2003 8:00 AM >To: TOMCAT, User >Subject: Tomcat Log4j SMTP Appender trouble > >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=zzzzzz >[EMAIL PROTECTED] >log4j.appender.Mail.Subject=zzzzzzzz >log4j.appender.Mail.SMTPHost=zzzzzz.zzzz.zzz >log4j.appender.Mail.layout=org.apache.log4j.SimpleLayout >log4j.appender.Mail.layout=org.apache.log4j.PatternLayout >log4j.appender.Mail.layout.ConversionPattern=%d[%c{1}i %x] %m%n >under Eclipse using a simple test class I receive the mail. When I try to >do >the same under Tomcat 4.1.29 / JDK 1.4 nothing append : no mail, no dump. I >use the same mail.jar ( the jar is in WEB-INF/lib for Tomcat ) on both test >case. >Please advise, >Regards, >Jardin Xavier. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
