removed log switch, as it is no longer necessary