Enabling/disabling the mapping logs for successfully executed MI

Successfully ran API/MI calls are included in logs and in error mail. This provides additional information about errors encountered while running an XML mapping. But when mapping runs a large number of API/MI programs the error mail becomes too large and fails to send. To be able to control this feature you set the Mapping, Agreement, and Applications properties.

Use these guidelines:

Priority settings Details Value and equivalent
First, set the Mapping property

Set the Mapping property setManifestInfo in Business Document Mapper tool.

You set this property using the java function in Business Document Mapper tool. Add this line in the function() method:

setMainfestInfo(ManifestConstants.MAP_ERRORMAIL_MILOG_ENABLED, "true")

Value = "true"

Where: true= enabled and false= disabled.

Default value is false=disabled.

Next, set the Agreement property

Set the Agreement/Control property in Partner Admin tool.

Use this property name Mapping.SuccessfulMILog.enabled

Value = "1"

Where: 1= enabled and 0= disabled.

Default value is 0=disabled.

Last, set the Application property

Set the Application property in the EC Configuration page in Grid.

Use this property name Mapping.SuccessfulMILog.enabled

Value = "true"

Where: true= enabled and false= disabled.

Default value is false=disabled.

Note: 

When setting these properties, the system will first check for the value set for Mapping, then the Agreement, and lastly the Application property. The Mapping value supercedes the values set for Agreement and Application. And, the Agreement supercedes the value set for Application.

Use this procedure to set the Mapping.SuccessfulMILog.enabled Application property.

  1. On EC Configuration page, click the Edit Properties link.
  2. Expand the view of Application Defined Properties.
  3. Scroll down to the Mappings group and expand the view.
  4. Double-click the value cell across the Mapping.SuccessfulMILog.enabled property.
  5. Specify a Boolean value, true or false.

    By default the value is set to false, or disabled.

  6. Restart EC for changes to take effect.