Alex Rudyy created QPID-4522:
--------------------------------

             Summary: [Java Broker] Enhance operational logging to provide the 
invoked operation arguments and invoked component name
                 Key: QPID-4522
                 URL: https://issues.apache.org/jira/browse/QPID-4522
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
    Affects Versions: 0.18, 0.16, 0.14, 0.12, 0.10
            Reporter: Alex Rudyy


In some cases it is desired to display an additional information like method 
arguments and component name when logging a user action. The current ACL 
logging for UPDATE method only gives user principal, operation name and 
component type, for example, if moveMesages operation is invoked from JMX 
interface, the operation logging prints the following:

2012-12-24 11:52:51,036 INFO [RMI TCP Connection(25)-192.168.0.10] 
logging.Log4jMessageLogger (Log4jMessageLogger.java:68) - 
[mng:admin(192.168.0.10)] ACL-1001 : Allowed : Update Method 
{NAME=moveMessages, COMPONENT=VirtualHost.Queue}

which tells that a user "admin" was allowed to move a message/s between two 
queues, but neither names of queues, no IDs of moving messages are not 
available.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to