Write STDOUT to log