Removed unused log switch.