4950a2fb43
Motivation LoggingHandler is a very useful tool for debugging and for tracking the sequence of events in a pipeline. LoggingHandler also includes the functionality to log a hex dump of all written and received ByteBufs. This can be useful for small messages, but for large messages, this can potentially result in extremely large logs. E.g., a 1 MB payload will result in over a 1 MB log message being recorded. While LoggingHandler may only be intended for debugging, this can still be too excessive in some debugging scenarios. Modifications * Create a new ByteBufFormat enum that allows users to specify "SIMPLE" or "HEX_DUMP" logging for ByteBufs. * For all constructors that currently accept a LogLevel parameter, create new overloaded constructors that also accept this enum as a parameter. * Continue to record hex dumps by default. Result Users will be able to opt out of full hex dump recording, if they wish to. |
||
---|---|---|
.. | ||
src | ||
pom.xml |