changes escape char in log formatting