Good idea! I opened ARTEMIS-4210 [1] for this and sent a PR [2]. Please review the PR and comment as necessary.
Justin [1] https://issues.apache.org/jira/browse/ARTEMIS-4210 [2] https://github.com/apache/activemq-artemis/pull/4408 On Thu, Mar 16, 2023 at 8:47 AM andrea bisogno <bisoma...@hotmail.it> wrote: > Hi, > I was looking into the audit logs offered by Artemis and I tried to > connect/disconnect an MQTT client to/from the broker. > > While I found some logs at the MQTT connection (like this: 2023-03-16 > 11:05:28,291 [AUDIT](Thread-1 > (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$6@1ad926d3)) > AMQ601715: User test==(Role_2)@127.0.0.1:51057 successfully > authenticated), I was not able to find any log for tracing the MQTT > disconection. > > I was wondering if it is possible, in one of the next releases, to add an > audit log specific for the disconnection, since, from the Audit Log > perspective, it would be useful to trace both the user login and his logout. > > Many thanks in advance, > > Andrea >