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

What is left outer join in sql server joins?

554


what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration

560


What is a hint?

582


what are the different ways to return the rowcount of a table?

578


what are isolation levels? : Sql server database administration

497






your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files? : Sql server administration

577


Define a cross join?

598


how many type of indexing in database?

584


Define tool Manage Statistics in SQL Server 2000 query ?

528


what are the different stages of Report Processing?

97


How to check if stored procedure is running in sql server?

481


Mention the 3 ways to get a count of the number of records in a table.

555


Why I am getting "the microsoft .net framework 2.0 in not installed" message?

515


How to rebuild indexes with alter index ... Rebuild?

593


What are the steps you can take to avoid “deadlocks”?

525