We observed a case where the number of log entries was too large for a mongo document resulting in an error to save it to the jobInfo collection.
We would like to optionally be able to limit the number of preserved log entries per job, for instance by only saving the last N entries.