Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    traceoptions (Batch Commits)

    Syntax

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

    Hierarchy Level

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

    Release Information

    Statement introduced in Junos OS Release 12.1.

    Description

    For Junos OS 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.

    Published: 2013-01-15