Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

traceoptions (Batch Commits)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
traceoptions {
    file filename;
    files number;
    flag (all | batch | commit-server | configuration);
    size maximum-file-size;
    (world-readable | no-world-readable);
}

Hierarchy Level

content_copy zoom_out_map
[edit system commit server], 
[edit system commit synchronize server]

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.

footer-navigation