gaohoward commented on a change in pull request #2579: ARTEMIS-2273 Adding
Audit Log
URL: https://github.com/apache/activemq-artemis/pull/2579#discussion_r264964749
##########
File path:
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java
##########
@@ -1516,6 +1541,9 @@ public synchronized RoutingStatus send(Transaction tx,
final boolean direct,
boolean noAutoCreateQueue,
RoutingContext routingContext)
throws Exception {
+ if (AuditLogger.isEnabled()) {
+ AuditLogger.sendMessage(this, getUsername(), tx, messageParameter,
direct, noAutoCreateQueue, routingContext);
Review comment:
Hi @michaelandrepearce Just had a look at the plugin class my impression is
it's a big too complicated for audit log. But let me think about it more. Also
I agree the idea to fine control the logging on 'hot' paths so to give user a
choice to turn off them particularly.
Thanks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services