Logging of the size of different message types.

* Maximum detected size per message type is logged once
* Default configuration disables this feature