Global logging switch.