Fix logger syntax bug