Export (0) Print
Expand All

Rename a SQL Server Agent Error Log (SQL Server Management Studio)

This topic describes how to rename the file where Microsoft SQL Server Agent errors are written in SQL Server 2014 by using SQL Server Management Studio.

In This Topic

Limitations and Restrictions

  • Object Explorer only displays the SQL Server Agent node if you have permission to use it.

  • SQL Server Agent will not write to the new log file until the SQL Server Agent service is restarted.

Security

Permissions

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.

Arrow icon used with Back to Top link [Top]

To rename a SQL Server Agent error log

  1. In Object Explorer, click the plus sign to expand the server that contains the SQL Server Agent error log that you want to rename.

  2. Click the plus sign to expand SQL Server Agent.

  3. Right-click the Error Logs folder and select Configure.

  4. In the Configure SQL Server Agent Error Logs dialog box, in the Error log file box, enter the new file path and file name for the error log. Alternately, click the ellipsis (...) to open the Specify agent error log location dialog box.

  5. When finished, click OK.

Arrow icon used with Back to Top link [Top]

Community Additions

ADD
Show:
© 2014 Microsoft