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

Release Information

Statement introduced in Junos OS Release 12.1.

Description

For Junos OS batch commits, configure tracing operations.

Options

file nameName 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 numberMaximum number of trace files.
flag flagTracing 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.

sizeMaximum size of each trace file, in kilobytes (KB), megabytes (MB), or gigabytes (GB).
world-readable | no-world-readablereadable—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.