traceoptions (Extensions)
Syntax
traceoptions {
file <filename> <files number> <match regex> <size size> <world-readable | no-world-readable>;
flag flag;
no-remote-trace;
}
Hierarchy Level
[edit system extensions extension-service application], [edit system extensions extension-service application file script-name]
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
Trace options for extension-service applications.
You can set the traceoptions statement for the application level or for the file script-name level or for both. If the traceoptions statement is set
for both the application and file script-name levels, the latter will have a higher priority.
Global traceoptions for daemonized applications do not take effect if the daemonized application and global traceoptions are committed separately
Options
file |
Indicate trace file information.
|
||||||||||||||||
flag flag |
Specify the tracing operation to perform. To specify
more than one tracing operation, include multiple
|
||||||||||||||||
no-remote-trace |
Disable remote tracing. This option is valid only when [system tracing] is configured. |
Required Privilege Level
trace—To view this statement in the configuration.
trace-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 16.1.