Controlling message content logging at service level - 7.1

Talend ESB Infrastructure Services Configuration Guide

Version
7.1
Language
English (United States)
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Design and Development
Installation and Upgrade
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.