...
How you set the java system property depends on your installation environment, but in a common apache tomcat Apache Tomcat installation you can set the property by using a shell or bat script called setenv and putting that in the tomcat bin
directory. Below are sample commands that can be added to either type of script.
...
Code Block | ||
---|---|---|
| ||
set "JAVA_OPTS=%JAVA_OPTS% -Dparasoft.logging.config.file=%CATALINA_BASE%/webapps/em/config/debug.logging.xml" |
The default java logging for Tomcat is pretty verbose and, in most cases, should provide more than enough information for your troubleshooting needs, but you can adjust the verboseness by modifying the logging levels in the logging.properties file located at <TOMCAT_INSTALLATION>/conf/
.