The Limit maximum length of history per job setting here lets you define how many entries per task are saved in the history. Enter the desired number to Number of entries.
With Limit maximum age in the history per job, the age of entries saved to the history can be restricted to the desired time frame.