Jobs can write text to disk so that it is accessible by other processes, using a specialized LogFile
object. Simply call Job.getLog()
to get the log, then use log.write(text)
to write a line. This LogFile
is streamed to the UI in the job detail view.