Was this helpful?
Logging Macro Values
The Debug level of logging automatically logs the values of all macros when a map or process runs. You can either set the logging preferences to globally or apply these settings to a single map or process from its Configuration tab. For more information, see Setting Logging Preferences, Configuring Logging Options for a Map, and Configuring Logging Options for a Process.
Example of a Log Showing Macro Values
07/13/2013 13:16:23  16      0 O Global   Macro 'ATTACHMENTS_DIR' has value 'C:\Actian\di-full-64bit-10.2.7-13\data\di\execution\jobs\job_8D7F2B80-31C0-68F0-37EE-31C431C9B25F\di-attachments-9aec9ff3-31ba-482f-ab1a-0aab0945ec4c'
07/13/2013 13:16:23  16      0 O Global   Macro 'Macro_1' has value 'Value_1'
07/13/2013 13:16:23  16      0 O Global   Macro 'Macro_2' has value 'Value_2'
07/13/2013 13:16:23  16      0 O Global   Macro 'DI_HOME' has value 'C:/Actian/di-full-64bit-10.2.7-13'
07/13/2013 13:16:23  16      0 O Global   Macro 'JOB_ID' has value 'job_8D7F2B80-31C0-68F0-37EE-31C431C9B25F'
07/13/2013 13:16:23  16      0 O Global   Macro 'JOB_STORE' has value 'C:/Actian/di-full-64bit-10.2.7-13/data/di/execution/di9/jobs'
07/13/2013 13:16:23   1      0 O Global   ### Owner: Integration Engineering
07/13/2013 13:16:23   1      0 O Global   ### Organization: Actian Corporation
07/13/2013 13:16:23   1      0 O Global   ### Serial Number: THX-1138
07/13/2013 13:16:23   1      0 O Global   ### Product Build Version/Date: 10.2.7-13 - 06/27/2013
07/13/2013 13:16:23   1      0 O Global   ### Production Engine
07/13/2013 13:16:23   1      0 O Global   *** Process Execution Initialization: [Process_Name]
07/13/2013 13:16:23   1      0 O Global   *** Process Execution Begin: [Process_Name]
07/13/2013 13:16:23   1      0 O Global   *** Start Step Begin
07/13/2013 13:16:23   1      0 O Global   *** Start Step End: Completed.
07/13/2013 13:16:23   1      0 O Global   *** Scripting Step Begin: [Script Step 1]
07/13/2013 13:16:23   1      0 O Global   *** Scripting Step End: [Script Step 1] completed.
07/13/2013 13:16:23   1      0 O Global   *** Stop Step Begin
07/13/2013 13:16:23   1      0 O Global   *** Stop Step End: Completed.
07/13/2013 13:16:23   1      0 O Global   *** Process Execution End: [Process_Name] completed successfully.
07/13/2013 13:16:23   1      0 O Global   *** Process Execution Statistics: [Process_Name] executed in 0.015 seconds
Last modified date: 02/09/2024