Controlling message content logging at service level - 8.0

Talend ESB Infrastructure Services Configuration Guide

Version
8.0
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Design and Development
Installation and Upgrade
Last publication date
2024-03-13
Note: This feature is available for Java based data services only.
The message content logging can be enabled or disabled at the service level by providing the property org.talend.esb.sam.agent.log.messageContent and its value in service endpoint definition.

For example:

<jaxws:properties>
  <entry key="org.talend.esb.sam.agent.log.messageContent" value="false"/>
</jaxws:properties>

There are also two runtime properties, log.messageContent and log.messageContent.override, which control the content logging behavior at runtime. For more information, see Configuring the Service Activity Monitoring Agent and Configuring the Service Activity Monitoring Agent in a Servlet container.

The controlling of the logging behavior at service level is allowed only if log.messageContent.override is set to true.