Tag Archives: SERVERPROPERTY(‘ErrorLogFileName’)

Undocumented Server Property ErrorLogFileName

You can use Server Property errorlogfilename to get the error log file path.

SELECT SERVERPROPERTY(‘ErrorLogFileName’)