View SQL Server Agent Error Log (SQL Server Management Studio)
This topic describes how to view the SQL Server Agent error log in SQL Server 2012 by using SQL Server Management Studio.
Log File Viewer displays log information from many different components. When Log File Viewer is open, use the Select logs pane to select the logs you want to display. Each log displays columns appropriate to that kind of log. The logs that are available depend on how Log File Viewer is opened.
In This Topic
Limitations and Restrictions
Object Explorer only displays the SQL Server Agent node if you have permission to use it.
To perform its functions, SQL Server Agent must be configured to use the credentials of an account that is a member of the sysadmin fixed server role in SQL Server. The account must have the following Windows permissions:
Log on as a service (SeServiceLogonRight)
Replace a process-level token (SeAssignPrimaryTokenPrivilege)
Bypass traverse checking (SeChangeNotifyPrivilege)
Adjust memory quotas for a process (SeIncreaseQuotaPrivilege)
For more information about the Windows permissions required for the SQL Server Agent service account, see Select an Account for the SQL Server Agent Service and Configure Windows Service Accounts and Permissions.
To view the SQL Server Agent error log
In Object Explorer, click the plus sign to expand the server that contains the SQL Server Agent error log that you want to view.
Click the plus sign to expand SQL Server Agent.
Click the plus sign to expand the Error Logs folder.
Right-click the error log you want to view and select View Agent Log.
The following options are available in the Log File Viewer – server_name dialog box:
When finished, click Close.