In WAF, Log only is available for Protective Action in basic web protection rules.
Log only is available for Protective Action in CC attack protection rules, precise protection rules, blacklist and whitelist rules, geolocation access control rules, and anti-crawler rules.