After 'Mask arguments that should not be logged' for password/twofactor/keyring also add support for normalizing booleans:
+ case "bool":
+ /* Field not given - then it is off */
+ if val == "" {
+ val = "off"
+ }
+
+ /* Normalize the Boolean */
+ val = pf.NormalizeBoolean(val)
+ break
+
After 'Mask arguments that should not be logged' for password/twofactor/keyring also add support for normalizing booleans: