Sitecore Content Hub users can log information from within the scripts by selecting a logging level (in the UI) and using the appropriate logging operations.
Selecting a minimum log level
The minimum log level can be selected using the Script User Interface on the script edit page:
In the script interface, edit the General settings by clicking on the Edit icon.
Select the minimum log level.
Save the changes.
When using scripting, it is not possible to change the minimum log level on the default
IMClient.Logger. Change the minimum log level from the UI instead.
By default, the minimum log level is set not set and displays
None, this defaults to the
Info log level in the SDK.
The maximum limit of log entries per script is 50.
Scripting logs can be viewed by pressing View logs button on the overview page or the script details page.
Can we improve this article ? Provide feedback