Fixed logging syntax error