Chapter 11. Performance monitoring, analysis, and tracing 345
2. Set DKLogPriority=TRACE.
3. Stop and restart your system.
To turn off the ICM connector performance trace:
1. Open the cmblogconfig.properties file for edit using Notepad, vi, or another
available editor.
2. Set KDKLogPriority=ERROR.
3. Stop and restart your system.
See the comment section in the configuration file for more details.
11.6.2 Library Server performance tracing
To enable Library Server performance tracing, run the script in Example 11-10.
Example 11-10 Sample DB2 script to enable Library Server performance trace
db2 connect to icmnlsdb user icmadmin
db2 update icmstsyscontrol set tracelevel=-8
db2 update icmstsyscontrol set keeptraceopen=1
db2 connect reset
The trace data will go into the file specified in the system administration client.
On Windows, the default is c:\ICMServer.log.
To turn off the Library Server performance trace, run the script in Example 11-11.
Example 11-11 Sample DB2 script to turn off Library Server performance trace
db2 connect to icmnlsdb user icmadmin
db2 update icmstsyscontrol set tracelevel=0
db2 update icmstsyscontrol set keeptraceopen=0
db2 connect reset
11.6.3 Resource Manager performance tracing
Resource Manager logging is controlled by the XML file, icmrm_loggin.xml, in the
WebSphere\AppServer\InstalledApps\ICMRM_App.ear\icmrm.war directory. The
priority value in the XML file can be used to turn on performance tracing.
Note: Log configuration settings (key and value) are case sensitive. Trailing
blanks following the value fields are not allowed.
346 Performance Tuning for Content Manager
The priority value has the following possible values:
FATAL Only logs if the servlet is terminating unexpectedly.
ACTION Logs messages that describe an action the System
Administrator has to take. These are not errors but
conditions such as low space.
ERROR Logs a request that was unable to be fulfilled or an
internal error.
WARN Logs warnings of unexpected behavior.
INFO Logs informational start and stop messages.
BEGINEND Time markers begin and end for performance measures.
REQUEST Logs detailed information about the incoming request.
RESPONSE Logs detailed information about the outgoing response.
TRACE Logs general flow messages.
DEBUG Logs detailed debugging information, plus all other levels.
The traced data will go to ibmrm.logfile in the \WebSphere\AppServer\logs
directory. You can direct it to another file within this XML file:
<param name="File"
value="C:/WEBSPH~1/APPSER~1/logs/icmrm/icmrm.logfile"/>
To enable Resource Manager performance trace:
1. Open the icmrm_loggin.xml file (in the
WebSphere\AppServer\InstalledApps\ICMRM_App.ear\icmrm.war directory)
to edit using Notepad or another applicable editor.
2. Set <priority value=”BEGINEND”>
3. Stop and restart your system.
To turn off the Resource Manager performance trace:
1. Open the icmrm_loggin.xml file to edit using Notepad or another applicable
editor.
2. Set <priority value=”ERROR”>
3. Stop and restart your system.

Get Performance Tuning for Content Manager now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.