Robot Logs Flush Rate

How can the Robot log's flush rate be improved ?

Starting from UiPath v20.10.6 and 21.4, there is capability for adjusting the flush interval and flush size for the SubmitLogs endpoint by using two new settings in the UiPath.Orchestrator.dll.config file:

  • RobotsLogs.Flush.Interval - default value: 0 (seconds)
  • RobotsLogs.Flush.BatchSize - default value: 100 (logs)

Note:

It is important to know that the command sending the logs to Orchestrator triggers at the end of the timespan set for RobotsLogs.Flush.Interval. If logs add up and the Robot gets disconnected before that time elapses, then those logs are sent the next time the Robot connects to Orchestrator.