Fix logging syntax