Configure log collection

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), all the Bot Agent logs are retrieved and stored in the Amazon Simple Storage Service (Amazon S3) by default for all instances. This is only applicable to the Amazon Web Services (AWS). The Bot Agent logs are collected at a regular interval and might result in the slowness of Control Room.

Although a Control Room administrator can disable the log collection functionality, it is not available as part of the standard Automation 360 Cloud. Contact your Automation Anywhere Customer Success Manager (CSM) for assistance.

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 change the default setting for 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.
    • Disable: Is the default setting to retain the log entries in the corresponding devices connected to the Control Room.
  7. Click Save changes.