Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables or disables logging for non-system tables.
Syntax
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.
Remarks
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.