For the Java buildpack, you can access the log files at <path-to-app-container>/.java-buildpack/dynatrace_one_agent/log.
For the Node.js, Staticfile, PHP buildpacks, as well as the NPM module, you can access the log files at <path-to-app-container>/dynatrace/oneagent/log.