Enabling trace logging
You can enable trace logs for different features within IBM OpenPages® with Watson™ to help you to diagnose issues that you might encounter.
You can enable trace log options in the following ways:
- Use the LogCollector user interface. For more information, see Gathering logs with the LogCollector user interface.
- Change the
auroralogging.propertiesfile. To use this method, follow the steps in this topic.
About this task
Trace logging generates a large amount of data on the application server. Enable trace logging only during testing and when other users are not on the system. Make sure to disable trace logging before users access the server again.
When trace logging is enabled, separate log files are created in the <OP_HOME>/aurora/logs/debug directory. These log files have a suffix that indicates the log type, such as <server_name>-workflow.log, and <server_name>-sdk.log.
Generally, trace logs contain the following information:
- Enter and exit messages for relevant API calls.
- Timings for each method.
- Targeted debug logging.
- Some appenders also support
apiutilinterceptorandapiutilinterceptorresponseloggers, which log HTTP API requests and responses.
The following trace logs are available:
| Purpose | Appender | Loggers | Log file location |
|---|---|---|---|
| Logs API requests. | api |
apimove, apiresource, apischeduler,
appservice, resourceutilrespviewrule,
toolboxmanager |
<OP-HOME>/aurora/logs/debug/<server_name>-api<log_suffix>.log |
| Applications Common Logger | app-common |
addnewappcommon, app-common, dependcommon,
relationcommon, sosacommon, taglibcommon,
utilcommon |
<OP-HOME>/aurora/logs/debug/<server_name>-app-common<log_suffix>.log |
| Tracks LDAP operations for the LDAP user provisioning. | auth |
ldapui, logon, logonerrortag,
logonfilter,opappsession, opsession,
securityservice, securityutil, sso |
<OP-HOME>/aurora/logs/debug/<server_name>-auth<log_suffix>.log |
| Logs information for debugging the Antivirus scanner. | avscanner |
avscanner |
<OP-HOME>/aurora/logs/debug/<server_name>-avscanner<log_suffix>.log |
| Logs application-specific cache messages. | cache |
auroracache, metadatacache,
objectprofilecache, respviewcache,
sdkcache |
<OP-HOME>/aurora/logs/debug/<server_name>-cache<log_suffix>.log |
| Logs all calculations. | calculation |
calcservice, calculation |
<OP-HOME>/aurora/logs/debug/<server_name>-calculation<log_suffix>.log |
| Logs computed fields, reporting fragments, and connections to IBM® Cognos® Analytics from OpenPages. | cognos |
cognos, cognosreports, cognosservice,
reportsservice |
<OP-HOME>/aurora/logs/debug/<server_name>-cognos<log_suffix>.log |
| Logs information specific to IBM Cloud Pak® for Data or SaaS operations. | cp4dsaas |
cp4dldap, cp4dsecurity, rabbitmq,
saasuser |
<OP-HOME>/aurora/logs/debug/<server_name>-cp4dsaas<log_suffix>.log |
| Logs all database Create/Read/Update/Delete operations and associated access data. | dataaccess |
dataaccess |
<OP-HOME>/aurora/logs/<server_name>-dataaccess<log_suffix>.log |
| Logs database service operations. | dbquery |
dbservice, queryapiservice, queryservice,
repositoryservice, resourcemanager |
<OP-HOME>/aurora/logs/debug/<server_name>-dbquery<log_suffix>.log |
| Logs third-party feeds, such as Thomson Reuters or Wolters Kluwer, and Watson Knowledge Catalog integrations. | feeds |
|
<OP-HOME>/aurora/logs/debug/<server_name>-feeds<log_suffix>.log |
| Logs information for debugging connections to Solr on the Search Server from the OpenPages Application Server for Global Search. | globalsearch |
globalsearch, searchapi,
searchservice |
<OP-HOME>/aurora/logs/debug/<server_name>-globalsearch<log_suffix>.log |
| Logs information for loss events. | lossevent |
lossevent |
<OP-HOME>/aurora/logs/debug/<server_name>-lossevent<log_suffix>.log |
| Logs machine learning operations to debug issues with machine learning integration. | machinelearning |
|
<OP-HOME>/aurora/logs/debug/<server_name>-machinelearning<log_suffix>.log |
| Logs successful and failed login and logout attempts. | opaccess |
opaccess |
<OP-HOME>/aurora/logs/<server_name>-opaccess<log_suffix>.log |
| Logs database access. | persistence |
persistence, persistenceroot |
<OP-HOME>/aurora/logs/debug/<server_name>-persistence<log_suffix>.log |
| Logs information for questionnaire operations. | questionnaire |
questionnaire, questionnaireservice |
<OP-HOME>/aurora/logs/debug/<server_name>-questionnaire<log_suffix>.log |
| Logs debug information for the reporting framework generation. | reportingframework |
reportingframework, rps |
<OP-HOME>/aurora/logs/<server_name>-reportingframework<log_suffix>.log |
| Logs access to custom rest endpoints. | rest |
rest, restinterceptor |
<OP-HOME>/aurora/logs/debug/<server_name>-rest<log_suffix>.log |
| Logs REST API information. | restapi |
restapi |
<OP-HOME>/aurora/logs/debug/<server_name>-restapi<log_suffix>.log |
| Logs information for debugging the third-party component, named Quartz, which is used by the OP Scheduling service. | scheduler |
quartz |
<OP-HOME>/aurora/logs/debug/<server_name>-scheduler<log_suffix>.log |
| Logs information for debugging the OP Scheduler Service. | scheduler |
scheduler, schedulerapi |
<OP-HOME>/aurora/logs/debug/<server_name>-scheduler<log_suffix>.log |
| Logs all SDK API calls. | sdk |
sdk, sdkinvocation |
<OP-HOME>/aurora/logs/debug/<server_name>-sdk<log_suffix>.log |
| Logs SDK API calls. | sdkgeneral |
sdkcomparison, sdkcomputation,
sdkobjectprofile, sdkmeta, sdkreg |
<OP-HOME>/aurora/logs/debug/<server_name>-sdkgeneral<log_suffix>.log |
| Logs security encryption operations. | security |
securityencrypt |
<OP-HOME>/aurora/logs/debug/<server_name>-security<log_suffix>.log |
| Logs services operations. | services |
serviceapp, serviceaudit, servicecommon,
servicenps, servicepublish, servicerepo,
serviceresource, serviceschema, serviceutil,
serviceview |
<OP-HOME>/aurora/logs/debug/<server_name>-services<log_suffix>.log |
| Logs trigger evaluations and executions. | trigger |
triggerapi, triggerlifecycle, triggers,
triggersdk, triggerutil |
<OP-HOME>/aurora/logs/debug/<server_name>-trigger<log_suffix>.log |
| Logs API requests from the UI. | uiapi |
appcontroller, apprestcontroller,
basecontroller, componentsfilter, dashboard,
modelresource, servicefilter,
typescontroller |
<OP-HOME>/aurora/logs/debug/<server_name>-uiapi<log_suffix>.log |
| Logs debugging information for the integration with IBM Watson® Language Translator. | watson |
watson |
<OP-HOME>/aurora/logs/debug/<server_name>-watson<log_suffix>.log |
| Logs IBM Watson Assistant operations. | watsonother |
|
<OP-HOME>/aurora/logs/debug/<server_name>-watsonother<log_suffix>.log |
| Logs Watson classifier operations. | watsonother |
|
<OP-HOME>/aurora/logs/debug/<server_name>-watsonother<log_suffix>.log |
| Logs Watson mapping operations. | watsonother |
watsonmapping |
<OP-HOME>/aurora/logs/debug/<server_name>-watsonother<log_suffix>.log |
| Logs trace information for the Microsoft Office integration. | webdav |
webdav |
<OP-HOME>/aurora/logs/debug/<server_name>-webdav<log_suffix>.log |
| Logs all workflow API calls, model calls, and action evaluations. | workflow |
workflow, workflowapi,
workflowmodel |
<OP-HOME>/aurora/logs/debug/<server_name>-workflow<log_suffix>.log |