is this log statement O(messages sent) or just O(authentication messages). If it's the former, it would be good to make it logTrace. Also, if there is any other code in here that logs on every message it would be good to make that trace-level. Otherwise the debug log is not consumable.