You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Keith Wall (Jira)" <ji...@apache.org> on 2020/03/03 17:13:00 UTC

[jira] [Created] (ARTEMIS-2640) Audit log messages AMQ601065 and AMQ601072 interpolate the queue name into the user name field

Keith Wall created ARTEMIS-2640:
-----------------------------------

             Summary: Audit log messages AMQ601065 and AMQ601072 interpolate the queue name into the user name field
                 Key: ARTEMIS-2640
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2640
             Project: ActiveMQ Artemis
          Issue Type: Bug
         Environment: Apache ActiveMQ Artemis 2.11.0
            Reporter: Keith Wall


When queues are created or deleted over AMQP management, the audit logging that results interpolates the queue name into the place where the username ought to be.

Two examples:

2020-03-03T12:53:56.095Z INFO  [base] AMQ601065: User activemq.management.tmpreply.d47e01cc-192c-744d-8fd4-609cbbaa62f8 is creating a queue on target resource: ActiveMQServerImpl::serverUUID=04163e11-5d4e-11ea-89d1-0242ac110013 [with parameters: [ANYCAST, activemq.management.tmpreply.d47e01cc-192c-744d-8fd4-609cbbaa62f8, null, false, 1, true, false, -1, false, null, false, 0, -1, false, 0, 0, true, -1]]
2020-03-03T12:54:29.542Z INFO  [base] AMQ601072: User example-queue-1 is deleting a queue on target resource: ActiveMQServerImpl::serverUUID=04163e11-5d4e-11ea-89d1-0242ac110013 [with parameters: [true, true]]

it appears that org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl#createQueue(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, int, boolean, boolean, boolean, int, java.lang.String, boolean, java.lang.String, boolean, int, long, boolean, long, long, boolean, long) and org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl#destroyQueue(java.lang.String, boolean, boolean) simply pass the wrong arguments.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)