enableAuditing

enableAuditing(options: Integer);

The enableAuditing method of the DbFile class re-enables the auditing associated with object operations performed against the file.

File operations are blocked and the file is made stable. A copy of the file is then inserted into the audit stream.

By default, the file is compressed before being written into the journal. If you know that the data in the file compresses poorly, you can disable compression by specifying the value EnableAudit_NoCompress (a DbFile class constant) for the options parameter.

File compression and decompression operations use the directory specified by the ReorgWorkDirectory parameter in the [JadeReorg] section of the JADE initialization file.