Share via


SqlSystem.logfileName Method

Retrieves the name of the standard Microsoft Dynamics AX SQL error log file.

Syntax

public str logfileName([boolean fromCommandline])

Run On

Server

Parameters

  • fromCommandline
    Type: boolean
    A boolean value. Passing a non-zero value as parameter makes the call return the logfile name passed on the command line; optional.

Return Value

Type: str
The file name of the standard Microsoft Dynamics AX SQL error log file.

Remarks

In version 2.11 or higher, an empty string is returned (for backward compatibility). Use the filenameSqlError method to retrieve the log file name.

See Also

SqlSystem Class

SysTrace::filenameSqlError Method