logging transaction

Configures the transaction logging options.

Command Mode

Exec > Global Configuration (config)

Syntax

logging transaction{ duplicate{ enable | disable } | max-file-size max_file_size | max-rotation max_rotations | message{ enable | disable } | persist{ enable | disable } } 

duplicate{ enable | disable }

Specify whether to enable or disable the duplicate logs in transaction logging.

Must be one of the following:

  • disable

  • enable

Default Value: disable.

max-file-size max_file_size

Specify the maximum transaction file size in MB.

Must be an integer in the range of 1-10000.

Default Value: 50.

max-rotation max_max_rotations

Specify the maximum number of file rotations.

Must be an integer in the range of 2-1000.

Default Value: 10.

message{ enable | disable }

Specify whether to enable or disable messages in transaction logging.

Must be one of the following:

  • disable

  • enable

Default Value: disable.

persist{ enable | disable }

Specify whether to enable or disable file-based transaction logging.

Must be one of the following:

  • disable

  • enable

Default Value: disable.

Usage Guidelines

Configures logging parameters. Use this command to configure the transaction logging options.