Den 31/03/10 21.22, Egan, David skrev:
Following the instructions from here: 
http://tomcat.apache.org/tomcat-6.0-doc/logging.html#log4j.
specifically the end 2nd last paragraph about config web application logging.


My application (SOAP service) runs successfully AND logs when I run locally on 
my Window Tomcat 6 instance (both to console and log file specified in 
log4j.properties).

Migrate the SAME war file to Solaris test environment, with same
     WEB-INF/classes/log4j.properties file
     WEB-INF/lib/log4j-1.2.14.jar

When migrated to our Solaris environment running same version of Tomcat 
(6.0.24) absolutely no logging occurs.  Nothing showing in console log nor in 
log file specified.  It's as if it's going completely to /dev/null....
Check if you have Windows file paths instead of Unix file paths in your configuration file.

Use lsof (if available) to see which files are actually open.

--

  Thorbjørn Ravn Andersen  "...plus... Tubular Bells!"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to