Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6588

TransportConnection to show client-id when reporting SecurityException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 5.15.0, 5.14.4
    • None
    • None

    Description

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

      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.
      

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

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            lichtin Martin Lichtin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: