Traceoptions - Juniper JUNOS OS 10.3 - SOFTWARE Manual

For ex series ethernet switches
Hide thumbs Also See for JUNOS OS 10.3 - SOFTWARE:
Table of Contents

Advertisement

traceoptions

Syntax
Hierarchy Level
Release Information
Description
Default
Options
Copyright © 2010, Juniper Networks, Inc.
traceoptions {
file <filename> <files number> <size size> <world-readable | no-world-readable>;
flag flag;
no-remote-trace;
}
[edit event-options event-script]
Statement introduced in Junos OS Release 7.6.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Define tracing operations for event scripts.
If you do not include this statement, no event script–specific tracing operations are
performed.
—Name of the file to receive the output of the tracing operation. All files are
filename
placed in the directory
placed in the file
escript.log
filename. To retain the default, you can specify
—(Optional) Maximum number of trace files. When a trace file named
files number
reaches its maximum size, it is renamed and compressed to
trace-file
then
trace-file.1.gz
, and so on, until the maximum number of trace files is reached.
Then the oldest trace file is overwritten.
If you specify a maximum number of files, you also must specify a maximum file size with
the
option and a filename.
size
Range: 2 through 1000
Default: 10 files
flag
—Tracing operation to perform. To specify more than one tracing operation, include
multiple
statements. You can include the following flags:
flag
all
—Log all operations
—Log important events
events
input
—Log event script input data
—Generate data for offline development
offline
output
—Log event script output data
—Log event script RPCs
rpc
—Log the XSLT library
xslt
no-world-readable
—Restrict file access to owner. This is the default.
Chapter 41: Configuration Statements for System Monitoring
/var/log
. By default, event script process tracing output is
. If you include the
file
escript.log
statement, you must specify a
as the filename.
trace-file.0.gz
,
709

Advertisement

Table of Contents
loading

Table of Contents