Hi Steve, the AuditLogger is often called in a context without a `Subject`[1] so it can't log the right username. To avoid this issue the username could be passed explicitly as suggested by Howard. Each AuditLogger entry has 2 methods and adding the `user` parameter to the static one would allow to pass it explicitly, ie `static void sendMessage(Object source, String user, Object... args)` [2]
[1] https://docs.oracle.com/javase/8/docs/api/javax/security/auth/Subject.html [2] https://github.com/apache/activemq-artemis/blob/2.12.0/artemis-commons/src/main/java/org/apache/activemq/artemis/logs/AuditLogger.java#L203 Regards, Domenico -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html