Diagnostics
- Last UpdatedJun 10, 2024
- 1 minute read
To add Logger activity
We can add the logger activity to show the retrieved data in the logger. In the example, on successful execution of the Database activity, the retrieved data will be stored to the XML variable outXmlInfo. The value from this variable can be shown in the logger.
-
Add the Logger activity.
-
Add the connector between database activity and logger and ensure that Successful event is selected.

-
Go to the property window of Logger and select Logtype as Information.
-
Mention the logger message using the Expression Editor. Expression Editor is needed to show the XML variable values. Click the Expression Editor icon to open the Expression Editor. Add the text to editor and click the OK button.
-
Save the Property window of the logger.
-
Publish the activity and Test Run it.
The results can be seen in the Logger Console.