additional logging for permissions on statements