Issue 969 audit log

There's something about having this here inside the repository that does not convince me. Is there a specific reason to have it here? I think I would prefer to move it to a different module with the responsibility of logging.