My suggestion would be to start tomcat and set the log4j.debug property to true.
The extra command line argument is -Dlog4j.debug=true
This should show which configuration file log4j load if it loads one at all. If your config file is found, you should also see log4j parsing it. BTW, your config file looks OK.
At 04:56 PM 7/3/2003 -0400, Dean A. Hoover wrote:
Sorry about that. It turns out that I had some tags in the web.xml file in the wrong place. I didn't realize that the order of those tags was important. Anyway. I fixed that, but the file logging is still not working. Here is the catalina.out file:
0 [main] INFO modeler.Registry - Loading registry information
2 [main] INFO modeler.Registry - Creating new Registry instance
471 [main] INFO modeler.Registry - Creating MBeanServer
1214 [main] INFO http11.Http11Protocol - Initializing Coyote HTTP/1.1 on port 8
080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
5324 [main] INFO http11.Http11Protocol - Starting Coyote HTTP/1.1 on port 8080
5438 [main] INFO common.ChannelSocket - JK2: ajp13 listening on /0.0.0.0:8009
5440 [main] INFO server.JkMain - Jk running ID=0 time=1/116 config=/usr/java/j
akarta-tomcat-4.1.24/conf/jk2.properties
33445 [Thread-5] WARN common.Vendor - attempt to authenticate 'xxx' failed
So, now there are no exceptions being thrown, but my log message is still going to catalina.out, despite the properties file:
log4j.logger.fermataintl.migrasponder=DEBUG, l1
log4j.appender.l1=org.apache.log4j.FileAppender
log4j.appender.l1.File=/tmp/migrasponder
log4j.appender.l1.layout=org.apache.log4j.PatternLayout
log4j.appender.l1.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %F:%L - %m%n
Thanks for all your help. Do you see anything wrong with this?
Dean
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Ceki For log4j documentation consider "The complete log4j manual"
ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
