Hello there,
I would like to get some flight recordings from a java application running in a docker container. My first attempt was to dump the recording on exit. However I am not sure if the running JVM (apache tomcat server) will be able to do it in a docker stop. My options looks like this:
-XX:FlightRecorderOptions=loglevel=debug,disk=true,defaultrecording=true,maxage=24h,repository=$CATALINA_BASE/logs,dumponexit=true,dumponexitpath=$CATALINA_BASE/logs/dumponexit.jfr,settings=profile
However neither I get my recording on exit nor my recordings are been created.
Any thoughts on this?
Thanks in advance,
Luis