How to: Set Up the Job History Log (SQL Server Management Studio)
This topic describes how to set up the Microsoft SQL Server Agent job history log.
To set up the job history log
In Object Explorer, connect to an instance of the SQL Server Database Engine, and then expand that instance.
Right-click SQL Server Agent, and then click Properties.
In the SQL Server Agent Properties dialog box, select the History page.
Choose from the following options:
Check Limit size of job history log, and then type the maximum number of rows for the job history log, and the maximum number of rows per job.
Check Automatically remove agent history, and specify a time period, such that history older than this period will be purged from the log.