Generate history.
When process failed, log output if no error output available.
Track removed files.