Resolve syntax error with logger strings