Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

traceoptions (Batch Commits)

Syntax

Hierarchy Level

Description

For software batch commits, configure tracing operations.

Options

file name

Name of the file to receive the output of the tracing operation.

Note:

If you configure traceoptions and do not explicitly specify a filename for logging the events, the batch commit events are logged in the commitd file (var/log/commitd) by default.

files number

Maximum number of trace files.

flag flag

Tracing operation to perform. To specify more than one tracing operation, include multiple flag statements. You can include the following flags:

  • all—All tracing operations flags.

  • batch—Tracing operations for batch events.

  • commit-server—Tracing operations for commit server events.

  • configuration—Tracing operations for the reading of configuration.

size

Maximum size of each trace file, in kilobytes (KB), megabytes (MB), or gigabytes (GB).

world-readable | no-world-readable

readable—Grant all users permission to read archived log files, or restrict the permission only to the root user and users who have the Junos OS maintenance permission.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 12.1.