External Monitoring and Logging#
Logging on the Sherpa RPA platform can be configured in two different ways:
- Logging via Sherpa Orchestrator
For logging through the Orchestrator, you can use the “Overview” dashboard
or the “Robot Messages” screen, which on the “Users” screen allows you to set up email notifications for each individual user about robot events with a specific level of urgency.
Logging can also be configured at the Orchestrator level through SQL queries to the Orchestrator table where robot messages are stored.
Important! When configuring logging through SQL queries, it is necessary to monitor the execution time of the query in the slow query statistics to avoid overloading the Orchestrator.
- Logging with NLog
At the robot level, logging can be done using NLog. NLog is integrated with the robot and allows for automatic log sending to multiple locations.
You can read more about this at the link:
To configure logging with NLog:
- open the folder: c:\Users\User\AppData\Roaming\Sherpa RPA Data\Setting\
- find the file: nlog.config.xml
- specify the desired configuration in the file.
The functionality of the Sherpa RPA platform allows you to specify an additional folder in the robot settings for storing copies of text logs. To do this, open the Sherpa Assistant settings and in the “Execution” tab, select the additional “Robot Log” tab. In the field “Additional directory for writing robot logs” click the “Select” button to specify the desired folder.
and, in the opened window, select the folder on your computer.
Note: You can also specify a network folder where robot logs will be saved.
A typical path to the coordinator logs looks like this:
C:\ProgramData\Sherpa RPA Coordinator\Log\SherpaRPAService.log
A typical path to the robot logs:
C:\Users\
Then in each of the options, find the folders with the current date, where text files with the robot's start time are stored.