Right now, when I change e.g the hostname from a server the following line will be written to the Audit Log:
Code:
Administrator 2016-01-05 10:41:12 System Manual Data Changed hostname - new_hostname
Is it possible to also add the old value to the log?
E.g:
Code:
Administrator 2016-01-05 10:41:12 System Manual Data Changed hostname - changed from hostname to new_hostname
I already found the code in
/code_igniter/application/models/m_audit_log.php in the
function insert_audit_event($field_name, $field_value, $system_id) but I am not sure how to add the old value.