HCL Web Content Manager Tracing
Use the Application Server trace facilities to capture trace information for HCL Web Content Manager (WCM). You can enable tracing permanently or only for the current HCL Digital Experience (DX) session. WCM uses IBM® WebSphere® Application Server trace facilities to generate trace data. Enable tracing when you need detailed information to help diagnose issues.
Enable static (extended) tracing
Static tracing captures data from server startup through the point when the issue occurs. Use this option when you need continuous trace data.
Static tracing captures data from server startup through the point when the issue occurs. Use this option when you need continuous trace data.
- Sign in to the Integrated Solutions Console as the WebSphere Application Server administrator.
- Go to Troubleshooting > Logs and Traces > WebSphere_Portal > Diagnostic Trace.
- On the Configuration tab, select Enable Log. Adjust Maximum File Size and Maximum Number of Historical Files to prevent trace data from being overwritten.
- Select Change Log Level Details, and enter the required trace string from the table below.
- Select OK, and save your changes.
- Restart the WebSphere_Portal application server.
Enable dynamic tracing
Use dynamic tracing when you cannot restart the server.
- Sign in to the Integrated Solutions Console as the Portal administrator.
- Go to Administration > Portal Analysis > Enable Tracing.
- The Enable Tracing portlet opens.
- Enter the required trace string in Append these trace settings.
-
Select the Add icon. The portlet updates Current trace settings.
Note
Restarting HCL DX clears any trace settings applied through the Enable Tracing portlet.
Trace Strings
HCL DX 9.5 and later provides these trace strings for detailed debugging and analysis.
| Issue | Trace String |
|---|---|
| General Search Traces | - com.ibm.hrl.*=all:- com.ibm.crawler.*=all:- com.ibm.portal.search.*=all:- com.ibm.lotus.search.*=all:- com.ibm.siapi.search.*=all |
| Remote Search Server | - com.ibm.hrl.*=all:- com.ibm.crawler.*=all:- com.ibm.portal.search.*=all:- com.ibm.lotus.search.*=all:- com.ibm.siapi.search.*=all |
| WCM Seedlist | - com.ibm.workplace.wcm.searchseed.*=finest:- com.ibm.lotus.search.providers.content.seedlist.*=finest:- com.ibm.workplace.wcm.seedlist.*=finest:- com.ibm.workplace.wcm.services.*=finest |
| WCM REST API | - com.ibm.workplace.wcm.rest.*=all:- com.hcl.wcm.rest.*=all: |
| Search Token issues | - com.ibm.ilel.*=all |
This table lists all trace strings available in HCL DX 8.5 and later.
| Issue | Trace String |
|---|---|
| General Information | - com.ibm.workplace.wcm.*=all- com.aptrix.*=all- com.presence.connect.*=all |
| Syndication | - Refer to Collecting Data: Syndication for HCL Portal 8.5 |
| Security | - com.ibm.wps.engine.*=all- com.ibm.wps.services.puma.*=all- com.ibm.wps.puma.*=all:com.ibm.wps.um.*=all- com.ibm.wps.sso.*=all- com.ibm.wps.services.authentication.*=all- com.ibm.ws.security.*=all- com.ibm.ws.wim.*=all:com.ibm.websphere.wim.*=all- com.ibm.wsspi.wim.*=all:com.ibm.workplace.wcm.*=all- com.aptrix.*=all- com.presence.connect.wmmcomms.*=all- com.presence.connect.profile.*=finest |
| Authoring Portlet | - com.ibm.workplace.wcm.app.ui.*=all- com.aptrix.*=all- com.presence.connect.*=allNote: Client-side trace required. When recreating the issue, it is important to note any JavaScript exceptions you may see in the browser. Additionally, you need to collect some browser-side information so we can see the requests being passed. There are multiple methods for collecting this information: - The JavaScript console of the browser - Fiddler - Firefox HTTP Header Live - Firefox Firebug |
| API | - com.ibm.workplace.wcm.*=all- com.aptrix.*=all:- com.presence.connect.*=all |
| WCM REST API | - com.ibm.workplace.wcm.*=all |
| JSR 286 Web Content Viewer | - com.aptrix.*=all- com.presence.*=all- com.ibm.workplace.wcm.*=fine- com.ibm.workplace.wcm.app.ui.portlet.*=all- com.ibm.websphere.wmm.*=all- com.ibm.wps.services.puma.*=all- com.ibm.wps.puma.*=all- com.ibm.workplace.wcm.resolver.*=all- com.ibm.workplace.wcm.services.addressability.*=all |
| Remote Web Content Viewer Portlet | On the remote rendering server:- com.ibm.workplace.wcm.app.ui.remote.*=all- com.ibm.workplace.wcm.app.ui.portlet.*=allIf the credential vault is in use, add the following the remote rendering server traces: - com.ibm.wps.services.credentialvault.*=finest- com.ibm.wps.sso.credentialvault.*=finest- com.ibm.wps.command.credentialvault.*=finest- com.ibm.wps.engine.Servlet.*=finestOn the rendering server: - com.aptrix.*=all- com.presence.connect.wmmcomms.*=all- com.ibm.wps.services.puma.*=all- com.ibm.wps.puma.*=all- com.ibm.wps.sso.*=all- com.ibm.wps.services.authentication.*=all- com.ibm.ws.security.*=all- com.ibm.ws.wim.*=all:com.ibm.websphere.wim.*=all- com.ibm.wsspi.wim.*=all |
| Caching | - com.presence.connect.cache.*=finest- com.presence.connect.business.*=finest- com.aptrix.pluto.renderer.*=finest- com.ibm.workplace.wcm.services.content.*=finest |
| Pre-rendering | - com.aptrix.cacher.*=finest |
| Enterprise Content Management Integration | Document Picker issues:- com.ibm.wps.proxy.*=all- com.ibm.mm.proxy.*=all- com.ibm.lotus.quickr.*=allPersonalization Federated Document issues: - com.ibm.workplace.wcm.pzn.ecm.*=all- com.ibm.websphere.personalization.*=allNote: Client-side trace is required. When reproducing the issue, note any JavaScript exceptions in the browser. Also, collect browser-side information to capture the requests being sent. There are multiple methods for collecting this information: - The JavaScript console of the browser - Fiddler - Firefox HTTP Header Live - Firefox Firebug |
| Blogs and Wikis | - com.ibm.workplace.wcm.*=all- com.aptrix.*=all:com.presence.*=all- com.ibm.icm.jcr.*=finest- com.ibm.icm.ci.schema.impl.SchemaService=info |
| Java Content Repository (JCR) | - com.ibm.icm.*=finest- com.ibm.icm.ci.schema.impl.SchemaService=info |
| Java Content Repository (JCR) Export/Import of Library | - com.ibm.icm.jcr.command.*=all |
| Web Content Integrator | - com.ibm.workplace.feed.*=finest |
| Migration | - com.ibm.workplace.wcm.app.migration.* = all |
| Seedlist and Search | WCM Seedlist issues: - com.ibm.lotus.search.providers.content.seedlist.*=finer- com.ibm.workplace.wcm.seedlist.*=finer- com.ibm.workplace.wcm.services.*=finerWCM Search issues: - com.aptrix.pluto.cmpnt.*=finest- com.ibm.workplace.wcm.data.siapi.*=finest- com.ibm.workplace.wcm.services.siapi.*=finest |
| Personalization | For issues with personalization in HCL DX (rules, campaigns, application objects): - com.ibm.websphere.personalization.*=all:com.ibm.websphere.query.*=allFor issues with personalization and security: - com.ibm.webshere.personalization.=finest:- com.ibm.icm.ci.query.impl.ResultSetProcessor=finest- com.ibm.icm.ci.query.impl.QueryProcessor=finest:com.ibm.wps.services.puma.=finest:- com.ibm.wps.puma.*=finestFor issues with personalization and Web Content Management (WCM): - com.ibm.websphere.personalization.*=all:com.ibm.websphere.query.*=all:- com.ibm.workplace.wcm.pzn.*=all:com.ibm.workplace.wcm.services.pzn.*=allFor issues with personalization and JCR: - com.ibm.websphere.personalization.*=all:com.ibm.websphere.query.*=all:- com.ibm.icm.*=finest:com.ibm.icm.ci.schema.impl.SchemaService=infoFor issues with personalization authoring performance: - com.ibm.websphere.personalization.*=all:com.ibm.wps.caf.*=allFor issues with personalization runtime performance: - com.ibm.websphere.personalization.*=allFor issues with personalization publishing: - com.ibm.websphere.personalization.*=allFor configuration issues with personalization authoring environment (Navigator Portlet, Editor Portlet, and List Portlet): - com.ibm.websphere.personalization.*=all:com.ibm.wps.caf.*=all |
| Java Message Service (JMS) | - com.ibm.workplace.wcm.services.messaging.*=all- com.ibm.workplace.wcm.messaging.*=all- Messaging=all:JMSApi=all:JMSServer=all |
| Advanced Editor (RTE) | Enable Java Console logging on client system and send output. Note: Client-side trace required. When recreating the issue, it is important to note any JavaScript exceptions you may see in the browser. Additionally, you need to collect some browser-side information so we can see the requests being passed. There are multiple methods for collecting this information: - The JavaScript console of the browser - Fiddler - Firefox HTTP Header Live - Firefox Firebug |
| Multilingual Solutions | MLS Install Trace location: [WAS_PROFILE_ROOT]/ConfigEngine/log/ConfigTrace.logConfiguration Issues: - com.ibm.workplace.wcm.ml.utils.*=all- com.ibm.workplace.wcm.ml.messaging.*=allAuthoring plugin: - com.ibm.workplace.wcm.ml.utils.*=all- com.ibm.workplace.wcm.ml.processor.*=all- com.ibm.workplace.wcm.ml.MLServlet=all- com.ibm.workplace.wcm.ml.ServletUtils=allWorkflow Traces: 1. Localize stage: - com.ibm.workplace.wcm.ml.utils.*=all- com.ibm.workplace.wcm.ml.workflowactions.LocalizeMLCustomWorkflowAction=all- com.ibm.workplace.wcm.ml.workflowactions.service.LocalizeCustomWorkflowActionService=all- com.ibm.workplace.wcm.ml.workflowactions.service.AbstractSyncUpdateCustomWorkflowActionService=all- com.ibm.workplace.wcm.ml.workflowactions.service.AbstractMLCustomWorkflowActionService=all- com.ibm.workplace.wcm.ml.workflowactions.WorkflowSwitcherWorkflowAction=all2. Regionalize stage: - com.ibm.workplace.wcm.ml.utils.*=all- com.ibm.workplace.wcm.ml.workflowactions.RegionalizeMLCustomWorkflowAction=all- com.ibm.workplace.wcm.ml.workflowactions.service.RegionalizeCustomWorkflowActionService=all- com.ibm.workplace.wcm.ml.workflowactions.service.AbstractSyncUpdateCustomWorkflowActionService=all- com.ibm.workplace.wcm.ml.workflowactions.service.AbstractMLCustomWorkflowActionService=all- com.ibm.workplace.wcm.ml.workflowactions.WorkflowSwitcherWorkflowAction=all3. Pending Publish stage: - com.ibm.workplace.wcm.ml.utils.*=all- com.ibm.workplace.wcm.ml.workflowactions.SyncPublishMLCustomWorkflowAction=all- com.ibm.workplace.wcm.ml.workflowactions.service.SyncPublishCustomWorkflowActionService=all- com.ibm.workplace.wcm.ml.workflowactions.service.AbstractSyncStageCustomWorkflowActionService=all- com.ibm.workplace.wcm.ml.workflowactions.service.AbstractMLCustomWorkflowActionService=all4. Pending Expired stage: - com.ibm.workplace.wcm.ml.utils.*=all- com.ibm.workplace.wcm.ml.workflowactions.SyncExpireMLCustomWorkflowAction=all- com.ibm.workplace.wcm.ml.workflowactions.service.SyncExpireCustomWorkflowActionService=all- com.ibm.workplace.wcm.ml.workflowactions.service.AbstractSyncStageCustomWorkflowActionService=all- com.ibm.workplace.wcm.ml.workflowactions.service.AbstractMLCustomWorkflowActionService=all5. Delete stage: - com.ibm.workplace.wcm.ml.utils.*=all- com.ibm.workplace.wcm.ml.workflowactions.SyncDeleteMLCustomWorkflowAction=all- com.ibm.workplace.wcm.ml.workflowactions.service.SyncDeleteCustomWorkflowActionService=all- com.ibm.workplace.wcm.ml.workflowactions.service.AbstractMLCustomWorkflowActionService=all6. Servlet Rendering Plugin Traces: - com.ibm.workplace.wcm.ml.utils.*=all- com.ibm.workplace.wcm.ml.processor.LocaleNavigatorProcessorImpl=all7. Portlet Rendering Plugin Traces: - com.ibm.workplace.wcm.ml.utils.*=all- com.ibm.workplace.wcm.ml.contextprocessor.*=all8. Library Copy Traces: - com.ibm.workplace.wcm.ml.utils.*=all- com.ibm.workplace.wcm.ml.processor.LibraryCopyContextProcessorImpl=all |
| Workflow | - com.ibm.workplace.wcm.api.*=finest- com.aptrix.pluto.workflow.*=finest- com.ibm.workplace.wcm.services.workflow.*=finest |
Warning
-
Enabling general tracing can make the server unresponsive because it generates a large amount of log output quickly, which can consume disk space and system resources. To avoid this, set the log scope as narrowly as needed for troubleshooting, and turn off general tracing as soon as you have collected the necessary information.
-
By default, the Kubernetes probe targets the server's landing page. To reduce the impact of page loads on your site, adjust the Probes configuration or change the landing page to one with a smaller footprint. Starting with CF229, the out-of-the-box sample site is configured as the default site. This site has a larger footprint as it demonstrates the new design system capabilities. It is recommended to move the sample site to a secondary position (or non-default location) to minimize resource consumption and improve responsiveness during tracing and monitoring.
Virtual Member Manager writes the resulting traces to the following locations:
- AIX® and Linux™:
wp_profile_root/logs/HCL Portal and HCL Web Content Manager/trace.log - Windows™:
wp_profile_root\logs\HCL Portal and HCL Web Content Manager\trace.log
HCLSoftware U learning materials
To learn how to monitor, troubleshoot, and contact Support about issues you encounter with DX, go to Monitoring and Troubleshooting. You can try it out using the Monitoring and Troubleshooting Lab and corresponding Monitoring and Troubleshooting Lab Resources.