How to change location of errorlog in SQL?

Answer Posted / sneha daultani

By default SQL Server ERRORLOG is stored in "C:Program FilesMicrosoft SQL ServerInstanceFolderMSSQLLog" folder. The ERRORLOG location is configured as a startup parameter for SQL Server Service.

To change the location of ERRORLOG you need to modify the startup parameter -e.

Restart SQL Server Service to apply changes. 

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Improve the performencs of SQL Server 2005 exclude stored Procedure and Indexes?

1762


How to verify a user name with sqlcmd tool?

791


Define outer join in sql server joins?

677


How to modify an existing stored procedure in ms sql server?

741


Which trace flags are enabled in sql server?

677






How sql server executes a statement with nested subqueries?

704


What is a fan-out query in SQL Azure?

115


What is failover clustering overview?

764


What do you mean by sql server 2005 express management tools?

1017


To which devices can a backup be created and where should these devices be located? : sql server management studio

731


Why should we go for stored procedures? Why not direct queries?

748


List out the differences between the clustered index and non-clustered index in sql server?

703


Explain transaction server implicit?

689


What is user-defined function?

726


Why are you getting errors when creating a new odbc dsn?

804