Print otherwise hidden stdout if subprocess fails.
Improve logging.