LogRecorder bug fix

Fixed unescaped single quote error