]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Clarify message
authorAlan T. DeKok <aland@freeradius.org>
Wed, 15 Jul 2015 13:41:11 +0000 (09:41 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 15 Jul 2015 13:41:23 +0000 (09:41 -0400)
src/main/connection.c

index e48a1a34311d7db96f34c38f53c0e7e94c9a35d5..f4e5fcbd5e34acb93543c43aefd9006a1982a439 100644 (file)
@@ -716,7 +716,8 @@ static int fr_connection_pool_check(fr_connection_pool_t *pool)
         *      a connection. Avoids spurious log messages.
         */
        if (spawn) {
-               INFO("%s: %i of %u connections in use.  Need more spares", pool->log_prefix, pool->active, pool->num);
+               INFO("%s: Need %i more connections to reach %i spares",
+                    pool->log_prefix, spawn, pool->spare);
                pthread_mutex_unlock(&pool->mutex);
                fr_connection_spawn(pool, now, false); /* ignore return code */
                pthread_mutex_lock(&pool->mutex);