Makes auditlog more verbose on debug logs

This commit is contained in:
Felipe Zimmerle 2017-10-10 09:30:21 -03:00
parent e09304a08a
commit d3f979f1d2
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -274,6 +274,7 @@ bool AuditLog::saveIfRelevant(Transaction *transaction) {
bool AuditLog::saveIfRelevant(Transaction *transaction, int parts) {
bool saveAnyway = false;
if (m_status == OffAuditLogStatus || m_status == NotSetLogStatus) {
transaction->debug(5, "Audit log engine was not set.");
return true;
}