Microsoft Dynamics AX 2012 provides the out-of-the-box logging of messages by configuring the logging mode parameter on integration ports. This is available on both basic and enhanced, inbound and outbound ports, and for document services as well as custom services.
Logging is disabled by default. As always, when adding logging to any process, take a moment and think about whether adding logging is really necessary. Also consider the level of detail that is required as this will have an impact on the performance of your service. The Logging mode parameter on integration ports provides the following options in the descending order of their level of detail:
All document versions: When selected, a version of the document is stored every time a document is modified by a pipeline component
Original document: When selected, only the original document before it has been modified by the pipeline components is stored
Message header only: Select this option when...