Fix logging issue in Travis