Enabling Diagnostic Trace

The Enterprise Console Web Services Adapter produces log information, the details of which can be configured by specifying appropriate values for properties defined in the file conf/logging.properties.

The conf/logging.properties file contains the following keywords.

handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler

This configures the log messages to be written to a file and also at the console

.level=INFO

This configures the kind of events that are logged. The default setting results in the Enterprise Console Web Services messages and the messages produced by Tomcat server to be logged. If you would like to log only messages of the Enterprise Console Web Services, then comment this line and uncomment the following line

#com.ibm.wtci.level=INFO

java.util.logging.FileHandler.pattern = logs/tecws%u.%g.log

This defines the location of the log file. Default file output is located at logs/tecws.log.

java.util.logging.FileHandler.level = FINEST

This defines the level of information written to logfiles.The default setting results in all information to be logged. To change the level, set the value of the keyword to be one of:

java.util.logging.ConsoleHandler.level = INFO

The defines the level of information written to console. The default setting results in only informational, warning and error messages to be written to the console. To change the level, set the value of the keyword to be one of:


Related topics
Common problems
Administering the adapter

Parent topic
Troubleshooting