allow message logging to be disabled per session
Brought to you by:
orenmnero
It's possible to disable logging to the .messages.log files by not supplying a log factory to the acceptor/initiator, but this affects all sessions created by that object. It's useful to be able to selectively disable logging per session, so that e.g. trading sessions log all messages but market data sessions do not.
I've attached a patch against 1.13.1 implementing this feature, via a new LogMessages configuration option.
patch