FREEPBX-7517 more work on security logging