Skip to main content

LogRollback

Allow logging for transaction rollbacks.

Synopsis

[Miscellaneous]    LogRollback=n

n is either 1 (true) or 0 (false). The default value is 0.

Description

Important:

This parameter has been retained for compatibility, but should not be used when building new applications.

When LogRollback is enabled (n = 1), InterSystems IRIS® data platform logs transaction rollbacks to the messages.log file (located in the install-dir\mgr directory, or the alternate directory named by the console parameter). When LogRollback is not enabled, transaction rollbacks are not logged.

Changing This Parameter

On the Compatibility page of the Management Portal (System Administration > Configuration > Additional Settings > Compatibility), in the LogRollback row, click Edit. Select LogRollback to enable this setting.

Instead of using the Management Portal, you can change LogRollback in the Config.MiscellanousOpens in a new tab class (as described in the class reference) or by editing the CPF with a text editor.

To change this parameter for a single process only (as opposed to instance-wide), use the LogRollback()Opens in a new tab method of the %SYSTEM.ProcessOpens in a new tab class. See the class reference for details.

FeedbackOpens in a new tab