Compartilhar via


How to: 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.

To rename a SQL Server Agent error log

  1. In Object Explorer, connect to an instance of the SQL Server Database Engine, and then expand that instance.

  2. Expand SQL Server Agent.

  3. Right-click Error Logs and select Configure.

  4. In the Error log file box, enter the new path and file name, or find it using the browse (...) button.

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

See Also

Tasks

How to: View SQL Server Agent Error Log (SQL Server Management Studio)

Help and Information

Getting SQL Server 2005 Assistance