Added an action log for task pipelines.

The action log is printed in the event that a task fails. The log
acts like a stack trace, showing what commands were executed to
allow the error to be reproduced offline.