[ 
https://issues.apache.org/jira/browse/AMQ-6588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15848938#comment-15848938
 ] 

ASF subversion and git services commented on AMQ-6588:
------------------------------------------------------

Commit 58ab9b6c9333031965e306aa4399f76814ed7383 in activemq's branch 
refs/heads/activemq-5.14.x from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=58ab9b6 ]

https://issues.apache.org/jira/browse/AMQ-6588

Add more detail to log output for easier tracking
(cherry picked from commit 9b9e3d36788d4b17d7033b9ee44c34a75ad33c17)


> 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
>             Fix For: 5.15.0, 5.14.4
>
>
> 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