Configure Agent debug logs

If your Agent is on-prem and you require debug logs to troubleshoot an issue, you can enable them through a change in the or file of the Agent.

To enable debug logs, set the following parameter to enable Debug log level logging:


Then to enable the debug, add the parameter to the following line:

exec java $JAVA_OPTS -DlogLevel=DEBUG -jar $AGENT_EXECUTABLE --agent.config=$AGENT_CONFIG

Note: The parameter must come before -jar argument.

To disable the debug log level logging, remove this parameter from the file and ensure the line matches below:

exec java $JAVA_OPTS -jar $AGENT_EXECUTABLE --agent.config=$AGENT_CONFIG

Note: Enabling or disabling the debug log level will require an Agent restart for the change to take effect. Please check your internal restart process before proceeding with this change.