Troubleshooting Guide

Quality Management Troubleshooting Guide
16 September 2009
log4j.appender.DBG.Threshold=<threshold>#com.spanlink …
and replace <threshold> with the same value you used in Step 2.
4. Save the configuration file.
The change takes effect according to the splk4j.watch.check setting (by
default, within 90 seconds). You do not have to restart the application or
service.
To enable debugging in log4j files:
1. In a text editor, open the desired configuration file.
2. Locate the line that starts with:
log4j.rootLogger=<threshold> …
and replace <threshold> with DEBUG or TRACE.
3. Save the configuration file.
4. Restart the application or service for the new setting to go into effect.
Disabling Debugging
It is important to disable debugging when it is no longer needed for diagnostic
purposes. Debugging can affect the performance of your PC if it is left enabled.
To disable debugging in files with a *.cfg extension:
1. In a text editor, open the desired configuration file.
2. Under the section headed [Debug Log], set the debugging threshold to OFF.
For example:
Threshold=OFF
3. Save the configuration file.
The change takes effect immediately. You do not have to restart the
application or service.
To disable debugging in files with a *.properties extension:
1. In a text editor, open the desired configuration file.
2. Locate the line that starts with:
log4j.rootLogger=<threshold> …
and replace <threshold> with STACK.
3. Locate the line that starts with:
log4j.appender.DBG.Threshold=<threshold> …