Handle null and true values for logger configuration