How would you implement a logging mechanism to track security events at The University of Massachusetts Amherst?