better sasl_logger support. catch and format error_report