How to gather Agent debug logs

Problem: 

I am having an issue on the agent side, how can I gather the agent logs for the Instana team to investigate?

Solution:

Please follow the below steps to gather the logs that will capture most details for diagnosis:

 

  • Stop the agent (<instana_install_dir>/bin/stop.sh)

  • Wipe the logs (delete all files in <instana_install_dir>/data/logs)

  • Set log level to DEBUG (change the severity in the configuration file
    following the instructions here:
    https://docs.instana.io/quick_start/agent_configuration/#agent-logging-configuration

  • Start the agent (<instana_install_dir>/bin/start.sh)

  • Reproduce the issue

  • Zip up the logs (in <instana_install_dir>/data/logs) and post the zip file with the support ticket.

 

Have more questions? Submit a request

Comments