Where can I find OneAgent logs on Cloud Foundry for application-only monitoring?

You may at some point want to access the installed OneAgent log files (for example, for support purposes).

  • For the Java buildpack at <path-to-app-container>/.java-buildpack/dynatrace_one_agent/log, you can stream logs in Cloud Foundry via CLI cf logs app-name.

  • For the Node.js, Staticfile, and PHP buildpacks as well as the NPM module, log files are located at <path-to-app-container>/dynatrace/oneagent/log.