Thanks for the reply Tim I looked in the wrapper.conf for something indicating it called the batch file and could find nothing.
So between that and the fact there's several batch files, none of which have that line the documentation says to uncomment, I didn't try guessing. I was actually hoping for a fast definitive response, particularly since the documentation is wrong, but doesn't look like that's going to happen. Thanks again, I'll give that a try. Allen ________________________________ From: Tim Bain <[email protected]> Sent: Wednesday, October 23, 2019, 9:04 PM To: ActiveMQ Users Subject: Re: ActiveMQ and auditing I've not run under Windows, but my understanding was that the wrapper calls the batch script which runs the JVM. So I'd have expected changing the batch file to have the effect you're looking for. Your question didn't make it clear whether you had tried doing that. Did you try it and it didn't work? If you didn't try it, I'd recommend you start with that. Tim On Wed, Oct 23, 2019, 11:38 AM Irwin, Allen - DEN <[email protected]> wrote: > Hello, > > I'm running 5.15.9 ActiveMQ on Windows as a service. > > I'm trying to turn on Auditing and I found your webpage > https://activemq.apache.org/audit-logging > > However I can't find the line to uncomment as mentioned on the webpage > (ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS -Dorg.apache.activemq.audit=true") > anywhere. I do see the variable ACTIVEMQ_OPTS in the activemq.bat file > under bin, but is this batch file even being used when you run ActiveMQ as > a service on Windows as it's running wrapper.exe? > > I do see the empty audit.log file so it looks like auditing is all setup, > I just need to find out how to turn it on? Anyone know how to turn on > Auditing when running ActiveMQ as a service on Windows? > > Thanks, > > Allen >
