Skip to main content

Controlling message content logging at service level

Information noteNote: 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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!