Applies To: SQL Server 2014, SQL Server 2016 Preview
Returns one row with the current configuration for the SQL Server failover cluster diagnostic log. These property settings determine whether the diagnostic logging is on or off, and the location, number, and size of the log files.
Applies to: SQL Server (SQL Server 2012 through current version).
Indicates if the logging is turned on or off.
Maximum size in megabytes to which each of the diagnostic logs can grow. The default is 100 MB.
Maximum number of diagnostic log files that can be stored on the computer before they are recycled for new diagnostic logs.
Path indicating the location of the diagnostic logs. The default location is <\MSSQL\Log> within the installation folder of the SQL Server failover cluster instance.
Requires VIEW SERVER STATE permissions on the SQL Server failover cluster instance.
The following example uses sys.dm_os_server_diagnostics_log_configurations to return the property settings for the SQL Server failover diagnostic logs.
SELECT <list of columns> FROM sys.dm_os_server_diagnostics_log_configurations;
Here is the result set.
<C:\Program Files\Microsoft SQL Server\MSSQL13\MSSQL\Log>