SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 SQL Event Log file locations
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

WJHamel
Aged Yak Warrior

USA
644 Posts

Posted - 02/26/2014 :  13:09:19  Show Profile  Reply with Quote
Is there a default location that MSSQL2k8R2 stores the .log files that are used under Management/SQL Logs in management studio?

jeffw8713
Aged Yak Warrior

USA
788 Posts

Posted - 02/27/2014 :  14:39:36  Show Profile  Reply with Quote
The default location of the error and SQL logs is the same root where the system databases were installed.

If you installed a default instance with the defaults location - they would be in C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL

In that folder you will find the log folder which will have the log files.

Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2004 Posts

Posted - 03/03/2014 :  01:47:25  Show Profile  Visit jackv's Homepage  Reply with Quote
You can use SQL Server xp_regread with T-SQL for SQL Error Log Path and Home Path - http://www.sqlserver-dba.com/2008/08/manipulating-re.html

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000