xCompany.logAlways Method [AX 2012]

Enables or disables logging for non-system tables.

public boolean logAlways(DatabaseLogType typeOfLog, [boolean log])

Run On

Server

Parameters

typeOfLog
Type: DatabaseLogType Enumeration
An optional Boolean value that when set to true forces database logging for all non-kernel tables, and when set to false clears the database logging.
log
Type: boolean

Return Value

Type: boolean
The status of the database logging for the indicated operation before the call.

Without the optional typeOfLog parameter, this method will report the status of the database logging for the indicated operation. Note that if the optional parameter is provided, the method is guarded by CAS and the calling code must assert SysDatabaselogPermission.

Community Additions

ADD
Show: