Using ScriptLog

ScriptLog is a transient object you can use to retrieve detailed log information during script execution. Use ScriptLog information during development to report any errors.

Note: You must put this object into the Pipeline Dictionary before you can use it. To add it to the pipeline dictionary, in the script node, under Dictionary Output, add a variable name to the ScriptLog property. For example, add myLog as the variable name.

Display ScriptLog data in any template with a simple ISML statement.

<isprint value="${myLog}">
Note: To generate persistent log information, use dw.system.Logger.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.