Help Center/ Cloud Eye/ FAQs/ Server Monitoring/ Agent Statuses/ How Do I Obtain Debug Logs of the Agent?
Updated on 2024-01-11 GMT+08:00

How Do I Obtain Debug Logs of the Agent?

Procedure

  1. Locate and modify the Agent log configuration file. Change info to debug in the <ces> and <ces_new> sections. If there is only one of the <ces> or the <ces_new> sections, you only need to modify one section.
    • Linux: /usr/local/uniagent/extension/install/telescope/bin/logs_config.xml
    • Windows: C:\Program Files\uniagent\extension\install\telescope\bin\logs_config.xml

  2. If the configuration file in 1 is not found, modify the other configuration file.
    • Linux: /usr/local/uniagent/extension/install/telescope/conf/logs.yaml
    • Windows: C:\Program Files\uniagent\extension\install\telescope\conf\logs.yaml

  3. Restart the Agent based on Managing the Agent.
  4. After obtaining the debug logs, restore the modified configurations and restart the Agent based on Managing the Agent.