getappmap / appmap-java

AppMap client agent for Java
Other
81 stars 15 forks source link

Print some progress messages #284

Open dividedmind opened 1 month ago

dividedmind commented 1 month ago

Appmap-java currently gives no indication that it's loaded and operating correctly. This can make troubleshooting difficult since the only way to check is to look for side-effects (like creating maps or generating the config file); this is made all the more important seeing how difficult it can be to thread the java agent settings through some environments.

Consider appmap-node:

$ appmap-node index.js
(Λ) Running with appmap-node version 2.23.2
(Λ) Using config file /home/divide/projects/example/appmap.yml
...

A short message like this would give a lot of reassurance that the agent is indeed loaded and initialized. It could also print paths to generated maps and/or a summary at the end ("generated n maps in /path").