use logger only in 1.4