Dear sir:
Would you please give me a example of SMTPAppender£¬thank you !
CuiFang
From ChangChun , China
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
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
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
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
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
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