Logging item status

The available configuration properties to log item status.

Description

The values of configuration properties in ItemValidation, ItemCollector, and Process_Reviewed_Item collaboration objects control the logging of item status. A value of true in the following properties enables the business object to be logged in the configured log destination:
LOG_ERROR_ITEM
Specifies whether the collaboration object logs the business object being processed (in addition to the error) when an error is detected during processing.
LOG_REVIEW_ITEM
(ItemValidation collaboration objects only) Specifies whether the collaboration object logs the business object being processed when the object is successfully processed. The Review item status means that the item continues to be processed for required missing attribute data review or approval.
LOG_APPROVED_ITEM
(Process_Reviewed_Item collaboration objects only) Specifies whether the collaboration object logs the business object being processed when the object status is Approved.
LOG_ACCEPTED_ITEM
(Process_Reviewed_Item collaboration objects only) Specifies whether the collaboration object logs the business object being processed when the object status is Accepted.
LOG_REJECTED_ITEM
(ItemValidation and Process_Reviewed_Item collaboration objects only) Specifies whether the collaboration objects log the business object being processed when the object status is Rejected.
Solution requirements dictate the type of logging that occurs, as well as when it occurs. It is recommended that the LOG_ERROR_ITEM property always be set to true so that any item that fails is logged for diagnostic purposes.

To log an item only after it completes the business review/approval process, set the LOG_APPROVED_ITEM and LOG_REJECTED_ITEM properties of the Process_Reviewed_Item collaboration object to true and the LOG_REVIEW_ITEM and LOG_REJECTED_ITEM properties of the ItemValidation collaboration object and the LOG_ACCEPTED_ITEM property of the Process_Reviewed_Item collaboration object to false.

To log an item both before and after it enters the business review/approval process, set all logging collaboration properties of ItemValidation and Process_Reviewed_Item collaboration objects to true.

Planning files for logging and tracing

Use separate files for logging and tracing. Use logging files to maintain persistent records of processed data. Use tracing files to diagnose problems and to show the flow of an item through the Product Information Management for Retailers solution. The Log Viewer tool has log and trace file filters that enable users to view the log or trace records for a particular business object or collaboration object.

Parent topic: Logging