Configure Agent Client Collector log levels

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • You configure the log levels that you want the Agent Client Collector logs to contain. All events that match or exceed the specified log level display in the Agent Client Collector logs.

    Antes de Iniciar

    Role required: agent_client_collector_admin

    Procedimento

    1. Specify the desired log level in the acc.yml configuration file.
      Alternatively, you can specify the log level as an argument in the --loglevel command-line flag, as follows:
      acc start --log level debug
    2. Restart the agent using the service manager:
      • Linux:
        sudo service acc restart
      • Windows:
        sc.exe stop AgentClientCollector
        sc.exe start AgentClientCollector
      • macOS:
        sudo launchctl load -w /Library/LaunchDaemons/com.sn.acc.plist
      Nota:
      You must restart the service after changing the log level.