Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-391

Connection Limit doesn't log when over the limit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • None
    • None

    Description

      The current security limit doesn't log anything when going beyond the limit:

      there is a Log.DEBUG, and an empty exception that is not shown anywhere.

      else {
      if (ActiveMQServerLogger.LOGGER.isDebugEnabled())

      { ActiveMQServerLogger.LOGGER.debug(new StringBuilder().append("Connection limit of ").append(connectionsAllowed).append(" reached. Refusing connection from ").append(ctx.channel().remoteAddress())); }

      throw new Exception();
      }

      The conneciton should be closed, and proper log should be printed. I think this is a situation for log.warn as the admins will need to be aware of it.

      Attachments

        Activity

          People

            jbertram Justin Bertram
            clebertsuconic Clebert Suconic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: