You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by ldebello <lu...@hotmail.com> on 2019/07/19 16:17:02 UTC

Audit Log Feature

Hi, 

We were using Artemis 2.6.3 and we migrate to Artemis 2.9.0. It seems in
2.7.0 a new feature called Audit Log was introduced and it is disabled by
default.
Yesterday our logs got full, after analyzing the reason, I realized this log
are coming from Audit Log feature so I checked and it was enabled. 
The way of enabling/disabling audit log seems like a little error prone. 

https://github.com/apache/activemq-artemis/blob/master/artemis-commons/src/main/java/org/apache/activemq/artemis/logs/AuditLogger.java#L52

We were using log4j2 so our  Root Logger was in INFO level and we do not
have any entry in ERROR for those 2 packages
"org.apache.activemq.audit.base", "org.apache.activemq.audit.message", the
way of fixing this was very easy but the mechanism seems weak.

I think a system property would work best for this case with a default value
of false. What do you think?

If you are ok I can create the jira and send the PR.

Regards,
Luis



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html