Don't use defer in hot path.
Don't use defer in hot path.

Since `writeAndRetry` winds up calling `getConn`, this puts `getConn` in
a hot path, where `defer` adds lots of undesirable overhead anytime
someone wants to write a log message.

Signed-off-by: Brian Goff <dc73d0991b982a8303e713ef531a313af77e242a@gmail.com>

RackSec/srslog,RackSec/srslog,RackSec/srslog