User Guide : Designing and Executing Map : Configuring Map : Configuring Logging Options
 
Share this page             
Configuring Logging Options
To configure the logging options for a map, open a map file, go to Configuration tab > Logging section, specify the following, and save the file.
Note:  This setting is specific to the map file and overrides the global settings specified in the Options > Preference > DataConnect > Execution > Logging Defaults tab.
 
Field or Option
Description
Log file name
Click Browse and specify the log file name where the log messages must be stored. By default, the log file name is same as the artifact name.
Run options
Select one or both the following:
Clear log file before each run - Clears the contents of the log file before executing the map.
Flush log to disk after each message - Sends the contents of the log file to a file on the disk after each message.
Error types to log
Select one or more of the following types of errors that must be logged in the log file:
Errors: Logs errors that caused the map execution to stop.
Warnings: Logs messages about data truncation in a field, field name changes, loss of precision, or other issues.
Information Messages: Logs messages such as "Execution initialization...", "Execution successful", number of records converted, deleted, updated, or inserted, time to convert, and whether the map execution was stopped.
Debug Messages: All messages generated as a result of a TraceOn action and some other messages are logged at this level.
In this case, the record number, first five fields of each record, and all the events are recorded.
The messages are logged up to the selected log type including the previous log types in the order of precedence. For example, if Warnings is selected, then the log file includes both Errors and Warnings messages. Similarly, if Debug Messages is selected, then the log file includes Errors, Warnings, Informative Messages, and Debug Messages.
Note:  In case of v9 compatible artifacts, only the selected type of error message is included in the log file.
This setting overrides the global settings specified in the Options > Preference > DataConnect > Execution > Logging Defaults tab.
Transformation processing options
Specify the following:
Break after error count of - The point at which stops the map. The valid values are in the range of 0 to 999999. The default value is 1.
Log bad record field count - The number of fields to display in the Error and Event Log File when errors occur during the transformation process. The valid values are in the range of 0 to 999999. The default value is 3.
 
Data Integrator 9 Compatible
Transformation processing option is available only when v9 compatibility mode is enabled.
Note:  For a new map, the Logging section displays the Log file name and Error types to log that was set in Options > Preferences > DataConnect > Execution.