Configuring Pega Robot Runtime to send robot activity logs to Pega Robot Manager
Modify the RuntimeConfig.xml
file so that Pega Robot Runtime can forward robot activity logs to Pega Robot Manager in case of an issue while processing a robotic
assignment.
- In the navigation pane of Pega Robot Manager, click .
- Click the name of the Runtime configuration file that you want to modify.
- In the top-right corner of the Settings tab, click Edit.
- Enable sending robot activity logs:
- Change the value of the
PublishToRobotManager enabled
parameter to true. - Change the value of the
RobotActivityLog enabled
parameter to true. - Optional: To modify the logging level, change the default value of the
eventsToLog
parameter.You can specify the following logging levels:- 0 – Never send a log
- 1 – Send a log when an activity did not complete
- 2 – Send a log when an activity did not complete or completed with errors
- 3 – Always send a log
- Change the value of the
- Optional: To track the health and usage of Pega Robot Runtime
through Operational Reporting, configure the following parameters:
- Accumulate data for the Automation and Activity Usage report by setting
the
UsageStatistics.Enabled
parameter to true. - Enter the number of minutes between usage events by modifying the
UsageStatistics.publishInterval
parameter.The default value is 60. - Gather information about how users use Pega Robot Runtime and the various automations by
setting the
HealthStatistics.Enabled
parameter to true.To display health information in the Health Report in Pega Robot Manager, in addition to setting the
HealthStatistics.Enabled
parameter to true here (as described above), you must also setHealthStatistics.Enabled
to true in theEventConsumers
section in the Runtime configuration file.
The Health Report includes the following information:
- The last time that any Runtime/Agile Desktop users logged in.
- The last version of Runtime that was used.
- The last version of the package that was used.
- Information about any fatal exceptions that were encountered.
See the following code snippet for reference:
<PublishToRobotManager enabled="true" ssoUserIdRule="FullUPN"> <HealthStatistics enabled="true" /> <UsageStatistics enabled="true" publishInterval="60" /> <RobotActivityLog enabled = "true" eventsToLog = "1"/> </PublishToRobotManager>
- Accumulate data for the Automation and Activity Usage report by setting
the
- Confirm your settings by clicking Save.
- In the Save changes window, in the Comment box, describe the update and click Submit.
Previous topic Downloading robot activity logs Next topic Handling underperforming robots