only use logger in travis ci