Martin Lichtin created AMQ-6588:
-----------------------------------

             Summary: TransportConnection to show client-id when reporting 
SecurityException
                 Key: AMQ-6588
                 URL: https://issues.apache.org/jira/browse/AMQ-6588
             Project: ActiveMQ
          Issue Type: Improvement
            Reporter: Martin Lichtin
            Priority: Trivial


Please can we add the "clientId" to the WARNing log when reporting a 
SecurityException such as:

{noformat}
2017-02-01 14:40:53,097 | WARN  | ActiveMQ NIO Worker 3    | 
TransportConnection              | ivemq.broker.TransportConnection  855 | 98 - 
org.apache.activemq.activemq-osgi - 5.14.0 | Failed to add Connection 
ID:myhost-50222-1485251692449-0:5 due to java.lang.SecurityException: User name 
[null] or password is invalid.
{noformat}

It would really help to find out where the erroneous connection is coming from.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to