logger toggle