Add some debug to the security events feature