Improved logging for ACL checks.