change log from string to text