Redirect Agent Output to Stdout
It is a best practice to redirect agent output to stdout in containerized environments. To redirect the output of the Java Agent to stdout, edit the ver<version>/conf/logging/log4j2.xml file and add two <AppenderRef ref="Console"/> elements as shown in the example log4j2.xml file.