if (ctx != null && ctx.getAuthentication() != null) {
auditMessage.append('[').append(ctx.getAuthentication().getName()).append(']').append(' ');
}
auditMessage.append(message);
Logger logger = LoggerFactory.getLogger(auditLoggerName.toLoggerName());
if (throwable == null) {
logger.debug(auditMessage.toString());
} else {
logger.debug(auditMessage.toString(), throwable);
}