Suggested improvement to connection spawning info

Chaigneau, Nicolas nicolas.chaigneau at
Wed Aug 6 18:04:36 CEST 2014

In function fr_connection_spawn (src\main\connection.c), the following INFO message is logged:

INFO("%s: Opening additional connection (%" PRIu64 ")", pool->log_prefix, pool->count);

The value logged is the number of times a new connection has been spawned on that pool.
What could be interesting (at least to me) would be to also show the current number of connections, and the number of busy connections.

So, what do you think of something like :

INFO("%s: Opening additional connection (spawned: %" PRIu64 ", num: %d, active: %d) ", pool->log_prefix, pool->count, pool->num, pool->active);


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Devel mailing list