Add a log line for the reason for termination