The log collection configuration enables you to collect log entries from the devices connected to the Control Room.

You can view the system log information on your device at the following locations:
  • Bot Agent installed as admin user: C:\ProgramData\AutomationAnywhere\BotRunner\Logs
  • Bot Agent installed as local user or non-admin user: %userprofile%\AppData\Local\AutomationAnywhere\BotRunner\Logs
.

The following logs are collected:

  • Node manager logs
  • Bot launcher logs
  • Browser extension logs
Note: Starting from Automation 360 v.29 (Cloud), the devices connected to Control Room instances hosted in Amazon Web Services (AWS) can store and retrieve the Bot Agent logs from Amazon Simple Storage Service (Amazon S3). The logs are collected at a regular interval and the Control Room administrator has the option to disable the log collection functionality.

You can choose to collect one of the following log-level information:

Note: In the production (PROD) environment, we recommend that you set the log file configuration level to INFO for optimal performance.
  • Info (default): Informational messages that highlight the progress of the application
  • Debug: Fine-grained information that is useful for debugging an application
  • Trace: Captures every behavior of the application in detail
    Note: If you set the log-level information to Trace, some actions will log parameter values in the Bot Agent log files. Therefore, we recommend that you use Trace only for troubleshooting and performing necessary checks before sharing the logs.

Procedure

  1. Navigate to Administration > Settings > Devices.
  2. Click Edit in the Log collection configuration tab.
  3. To configure the level of log collection, select one of the following::
    • Info - to get informational messages that highlight the progress of the application.
    • Debug - to get detailed information that are useful for debugging an application
    • Trace - to capture the application behavior in detail.
  4. Set the maximum log file size between 1 MB and 100 MB.
  5. Set the maximum number of log files between 1 and 500.
  6. Optional: Use the Sync Log Collection field to select one of the following options for changing the default setting of the log collection in Control Room:
    • Enable: Select this option if you want collect the log entries from all the devices connected to your Control Room.

      Only a copy of the log entries from the corresponding devices are collected.

    • Disable: Is the default setting to retain the log entries in the corresponding devices connected to the Control Room.
  7. Click Save changes.