Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-2228

AuditLog should show the context of the operation and not just arguments

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Minor
    • JBoss A-MQ 6.3.x
    • JBoss A-MQ 6.3
    • broker
    • None
    • +
    • Hide
      additional "on <target> " clause in the audit logging.
      {code}
      2018-11-07 17:50:42,118 [on(2)-127.0.0.1] - INFO audit - admin called org.apache.activemq.broker.jmx.QueueView.purge[] on myTestQueue at 07-11-2018 17:50:42,118
      {code}
      Show
      additional "on <target> " clause in the audit logging. {code} 2018-11-07 17:50:42,118 [on(2)-127.0.0.1] - INFO audit - admin called org.apache.activemq.broker.jmx.QueueView.purge[] on myTestQueue at 07-11-2018 17:50:42,118 {code}
    • Documented as Resolved Issue

    Description

      When we enable to audit log (http://activemq.apache.org/audit-logging.html), some of the operations doesn't have any arguments (for example, purge(), resetStatistics). The output of audit log doesn't show the context information (queue name).

      2018-08-31 11:19:43,803 | INFO  | ion(6)-127.0.0.1 | audit                            | vemq.broker.util.DefaultAuditLog   27 | 162 - org.apache.activemq.activemq-osgi - 5.11.0.redhat-630347 | anonymous called org.apache.activemq.broker.jmx.QueueView.purge[] at 31-08-2018 11:19:43,801   
      

      only shows who purge some queue at a specific time, but doesn't log which queue.

      Attachments

        Activity

          People

            gtully@redhat.com Gary Tully
            rhn-support-whui Roger Hui
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: