Don't escape logs for pastebin. Closes #5433.