activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "clebert suconic (JIRA)" <>
Subject [jira] [Created] (ARTEMIS-391) Connection Limit doesn't log when over the limit
Date Fri, 05 Feb 2016 20:49:39 GMT
clebert suconic created ARTEMIS-391:

             Summary: Connection Limit doesn't log when over the limit
                 Key: ARTEMIS-391
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: clebert suconic

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(;
            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.

This message was sent by Atlassian JIRA

View raw message