rearrange log_level= and drop equality test