Enable fine-grained control over what gets logged on connection attempt (reduces log size)

Enable fine-grained control over what gets logged on connection attempt (reduces log size)

Edit