change log output to text/plain