Append the state of a job to a log message