Reviewing operation logs

This section details how you can view your script logs after running it.

Before you begin

  • Publish your script to the IBM RPA server, and you must be able to see it in the Scripts section in the IBM RPA Control Center. Learn how to publish your script in Publishing scripts.

Procedure

Logs in the IBM RPA Control Center

  1. Log in to the IBM RPA Control Center.
  2. In the left side menu, click the Scripts menu.
  3. Locate the script.
  4. Click the on the script name.
  5. Go to the Jobs tab.
  6. Optional: Select the date interval of the logs.
  7. Optional: Select the status of the execution.
  8. Optional: Select the computers where the script ran.
  9. Click the Search button.
  10. Locate the logs and click the vertical ellipsis button ⋮ > Details.
  11. Optional: Select the Log level to only display log messages with that level.
  12. Optional: Select the Log message that you want to find.
  13. Optional: Select the time interval of the log messages.
  14. Click the Search button.

Local file logs

  1. Log in to the machine where the script ran.
  2. Go to C:\Users\[User]\AppData\Local\IBM Robotic Process Automation.
  3. Locate the folders with the date that the script ran, following the format: [Year][Month][Day].
  4. Locate the file log for the script, following the format: [Component]-[Execution ID]. For example: {Bot/Host}-00659af4-7baa-4046-b59e-51b9558000af, where Bot is a component of a Chatbot instance, and Host is a component of the Bot Runtime application.

About the log synchronization

The Log Synchronizer is one of the Bot Agent services. It's a local database that saves information from failed API requests. When the client computer runs a bot and the communication with the API fails to notify the start or end time of the runtime, it stores the request information, and then the Log Synchronizer tries to synchronize this information with the API.

It tries to synchronize using the following synchronization attempt frequency:

  • Ten attempts every 5 minutes.
  • Ten attempts every 30 minutes.
  • One attempt every 1 hour for two months.

It also tries to synchronize all pending logs newer than 2 months every time the Bot Agent is started or the connection with the API is restored.