make debug output of audit message conditional