Fix logging syntax error