You can edit the configuration file of the VMware Aria Operations for Logs Agent to change the logging level.

Prerequisites

For the VMware Aria Operations for Logs Linux Agent:
  • Log in as root or use sudo to run console commands.
  • Log in to the Linux machine on which you installed the VMware Aria Operations for Logs Linux Agent, open a console and run pgrep liagent to verify that the VMware Aria Operations for Logs Linux Agent is installed and running.
For the VMware Aria Operations for Logs Windows Agent:
  • Log in to the Windows machine on which you installed the VMware Aria Operations for Logs Windows agent and start the services manager to verify that the VMware Aria Operations for Logs agent service is installed.

Procedure

  1. Navigate to the folder containing the liagent.ini file.
    Operating system Path
    Linux /var/lib/loginsight-agent/
    Windows %ProgramData%\VMware\Log Insight Agent
  2. Open the liagent.ini file in any text editor.
  3. Change the log debug level in the [logging] section of the liagent.ini file.
    Note: The higher the debug level, the higher the impact it has on the VMware Aria Operations for Logs Agent. The default and recommended value is 0. Debug level 1 provides more information and is recommended for troubleshooting of most issues. Debug level 2 provides detailed information. Use levels 1 and 2 only when requested by VMware Support.
    [logging]
    ; The level of debug messages to enable: 0..2
    debug_level=1
  4. Save and close the liagent.ini file.

Results

The log debug level is changed.