Fix logging again