getappmap / appmap-java

AppMap client agent for Java
Other
80 stars 14 forks source link

Spark integration doesn't honor appmap.recording.requests #276

Open petecheslock opened 3 months ago

petecheslock commented 3 months ago

Using the Waltz project, when running the pre-build jar with the appmap request recording disabled still generates request recordings.

java -javaagent:$HOME/.appmap/lib/java/appmap.jar -cp waltz-web/properties:waltz-local-config/src/main/resources:waltz-web/target/classes:./waltz-web/target/waltz-web-jar-with-dependencies.jar -Dwaltz.port=8080 -Dappmap.recording.requests=false -Dappmap.disableLogFile=true org.finos.waltz.web.Main
Screenshot 2024-04-29 at 1 11 04 PM
petecheslock commented 3 months ago

@apotterri here is the log file from running

 java -javaagent:$HOME/.appmap/lib/java/appmap.jar -cp waltz-web/properties:waltz-local-config/src/main/resources:waltz-web/target/classes:./waltz-web/target/waltz-web-jar-with-dependencies.jar -Dwaltz.port=8080 -Dappmap.recording.requests=false -Dappmap.disableLogFile=false org.finos.waltz.web.Main

appmap-20240430100244.log.zip