Corrected the audit log code