Stream to text redirection Debug 5, Verbose 4, Warning 4, Errors 2, Success 1. 

Write to file > Append >> Merge >&

The below will display success and redirect errors to a text file.