For logs you should use stdout/stderr options and push them to a file (assuming your logging library does not do that already). I'd suggest running in cmd mode because you get to write full commandline as you would want/need.
On Fri, Aug 19, 2022, 15:46 Fernando O. <fot...@gmail.com> wrote: > Hi all, > Disclaimer: I'm pretty new to windows, I worked most of my life on > linux > > I'm trying to add a java agent to a windows service, that was > installed with procrun. In the doc it seems like there's no option for > adding an agent. > I tried adding it to options (the doc says that accepts -D and -X) but > just in case I tried with -javaagent as in command line but it's failing. I > can't find a way to get proper logs on what's going on either. Does anyone > know if this is doable? > Or how to get trace/debug lvl logs from the jvm? > > I'ḿ running it in jvm mode. > > > [image: image.png] >