How to: Write the Job Status to the Windows Application Log (SQL Server Management Studio)
This topic describes how to configure Microsoft SQL Server Agent to write job status to the Windows application event log.
To write the job status to the Windows application log
In Object Explorer, connect to an instance of the SQL Server Database Engine, and then expand that instance.
Expand SQL Server Agent, expand Jobs, right-click the job you want to edit, and then click Properties.
Select the Notifications page.
Check Write to Windows application event log, and choose one of the following:
- Click When the job succeeds to log the job status when the job completes successfully.
- Click When the job fails to log the job status when the job completes unsuccessfully.
- Click When the job completes to log the job status regardless of completion status.