Useful loggers in log4j2.xml file
The following table lists the useful loggers in the log4j2.xml file:
Loggers | Information |
---|---|
org.springframework.web |
Setting this logger to TRACE level produces HTTP request and response details for all the incoming HTTP requests to Content Integration. This logger can be useful if you want to see what is being exchanged between frontend and backend. |
com.hcl.unica.cms.integration .flow.interceptor.logger |
This logger is most useful for plugin development. It logs the HTTP interaction between Content Integration Framework and the target repository. For any service implemented using RESTful approach (by implementing RestService, HTTPService or their specialized derivatives), this logger will write HTTP request and response details for all the outbound HTTP interactions with target system. To prevent security vulnerability, values of confidential headers are masked before logging. Only the last four characters are left unmasked for troubleshooting. Such headers include standard header Authorization, or any non-standard custom headers set in request or received in response. |
org.springframework.retry |
Setting this logger to TRACE level adds information related to retrial attempts while making HTTP calls to the target repository. This is useful to verify Retry Policy set up under QOS section for the respective system in Platform Configuration. |
com.hcl.unica.system.integration.flow.object.event &
com.hcl.unica.system.integration.service.object.event |
Setting this logger to INFO level produces logs pertaining to the
content event processing. Each content event received via webhook is
assigned a unique identifier. Every logger thus produced contains
the unique identifier to help tracing end to end processing of each
event. Every log line begins with
“Event#aa09af83-0f52-4d0c-82de-370e96a0f4c2”, wherein the part after
hash sign is unique event identifier. These event processing logs
are recorded in a separate file named
asset-picker-webhook.log under
<ASSET_PICKER_HOME>/logs directory. |