Hey George, Interesting problem with that console... I'm deploying my war file through Tomcat 5.5 manager (web based interface). Since Tomcat is running as a service on Windows, there really is no console per se. In the past, I've started tomcat from the command line, and I was able to see output in the console, however this time, I've installed Tomcat using the Apache installer and had it set itself up as a Windows service, so I'm not starting it from the command line any longer. Therefore, I can't see any console output from Tomcat.
I'm leaning towards throwing away the log4j.xml file I'm currently using and trying to use a much simpler one for now - just to get some kind of output. I'll let you know how I make out. Thanks, Darren -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 10:40 AM To: user@struts.apache.org Subject: RE: [newb question] Turning on DEBUG level logging Darren Hall asked: > I've included the log4j.jar in my WEB-INF/lib directory and > created a log4j.xml file based on an example I found online > (rather then a log4j.properties file). The application > deploys error free and executes - however my log files are > not created. > > I can think of two reasons this could be happening: > 1) Log4j is not creating the "log" directory, thus it can't > create the log file; or The directory needs to exist. Log4j won't create it for you. Do you see your log output on the console? > Below is the log4j.xml properties file. I'm using a relative > path to specify a directory for the log files (i.e. > "log/uwaf-event.log"). Given that I'm using Tomcat 5.5 as my > app server - where will it try to create my log files? In my > webapps/<myapp> folder, or in the <Catalina_home>/bin directory? It will probably be relative to the current working directory where you start Tomcat. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]