Would you please give me a example of SMTPAppender

2002-07-10 Thread fish
Dear sir: Would you please give me a example of SMTPAppender£¬thank you ! CuiFang From ChangChun , China

Re: DOMConfig and log4j:Configuration

2002-07-10 Thread Ceki Gülcü
Try ?xml version=1.0 encoding=UTF-8? !DOCTYPE log4j:configuration SYSTEM log4j.dtd etc.. That's log4j.dtd, not C:/Program Files/.../log4j.dtd. At 19:24 10.07.2002 +0800, you wrote: I am using the Tomcat4.0 and struts for my web app. we have written the following loginconfig.xml please some

Log4j hanging application...

2002-07-10 Thread jenny . hunt
We have been using log4j (v113) successfully for some time now with Weblogic 6.1and J2SE 1.3.1_02 on Sun Solaris. We have just started experiencing what appears to be a log4j problem (!!) in one of our environments. At startup time log4j is configured successfully , but when a call is made to

Re: Can't control logging via root - get all msgs despite settingpriority

2002-07-10 Thread Adam Hardy
Hi All, I've configured the root logger to put all errors fatals in a log file. My problem comes when I configure a second logger. My second logger passes all debug above to the console. However as soon as I configure this second logger, the root logger also sends all debug above to the

RE: Can't control logging via root - get all msgs despite setting priority

2002-07-10 Thread Ebersole, Steven
Sorry, brain-fart, should be: log4j.rootLogger=ERROR, A1 log4j.logger.myDefinedLogger=DEBUG, A2 log4j.logger.additivity.myDefinedLogger=false Steve Ebersole IT Integration Engineer Vignette Corporation 512.741.4195 Visit

Re: Log4j hanging application...

2002-07-10 Thread Ceki Gülcü
Is this problem reproducible? By the way, in 1.1.3. line 753 in Category.java is javadoc not an executable java statement. So the following line at org.apache.log4j.Category.isDebugEnabled(Category.java:753) is somewhat suspicious. Can you check what line 753 corresponds to in your copy

deriving from Logger problems

2002-07-10 Thread Piccoli, Lucio
hi all, I have derived a Logger class MyLogger from org.apache.log4j.Logger. Everything seems to work fine except for the logging output. The logger name displayed is *allways* set to MyLogger not the logger name that has been requested. I checked Logger.getName() and it is returning correctly