Wow... three days doesn't seem to be worth
it.
I
would agree with a previous poster. The JDK 1.4 logging package is really
easy to use, don't have to
worry
about what jar file is where, and it can be easily configured to produce the
same output. I know
that
log4J -vs- JDK 1.4 is starting to become a bit of a religious battle, but
honestly I see them as being
about
equal, with JDK 1.4 being slightly less hassle to use.
My
$0.02...
-BWD.
-----Original Message-----
From: Keir Bowden [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 9:59 AM
To: '[EMAIL PROTECTED]'
Subject: Help with Log4jHi,I'm having trouble getting log4j to work in conjunction with commons logging, Axis 1.0 and Tomcat 5.0.19. I've tried altering the log4j.properties in the axis.jar file, adding the log4j jar file to the tomcat shared\lib, common\lib and server\lib directories, adding log4j.properties files in the tomcat shared\classes, common\classes, server\classes and the axis\WEB-INF\classes directories, all to no avail.I've googled on this with all combinations of tomcat, axis and log4j that I can think of, but I just can't seem to coax anything other than the INFO level debugging into the tomcat\logs\stdout.log file that I had upon first installation of tomcat.I'm using the LogFactory.getLog() method from commons logging, which should choose log4j if possible. However, when I output the Log object that is returned, it's an org.apache.commons.logging.impl.Jdk14Logger.I've been banging my head against this one for three days now - has anyone out there managed to get this combination working? Any and all tips gratefully received.Keir Bowden
Development ConsultantTelerate
Winchmore House,
15 Fetter Lane, London EC4A 1BW
(w) +44 (0) 207 832 9839
(e) [EMAIL PROTECTED]
http://www.telerate.com
"Our company name has changed to Telerate. Please note my email address is [EMAIL PROTECTED]"
CONFIDENTIALITY NOTICEThe information contained in this email is confidential and may also be privileged. It is intended to be for the exclusive use of the addressee(s) and access to it by any other person is unauthorised. If you are not the addressee please note that you must not distribute, copy, circulate or in any other way use or rely on the information contained in this email. If you have received this email in error please notify us by phone (+44 (0)20 7832 9000) and then destroy the email and any copies of it.