VMware NSX-T Data Center 2.5.x
VMware NSX-T Data Center
VMware NSX-T Data Center 3.x
The Gateway Firewall, General Settings, Default Rule logging is using the LR property default_rule_logging which has been marked as deprecated.
The current issue is a result of the LR API behavior which resets force_whitelisting to the false whenever the user toggles the default_rule_logging flag.
This behavior is present from the UI as well as from the API.
The issue is resolved in NSX-T Data Center 3.1.2 and onwards