Fix logging mistake