Fix logger syntax error