trace
Syntax
trace application { application-name { node { node-name { level level; group group-name { enabled (off | on); tracepoint tracepoint-name { enabled (off | on); } } } } } }
Hierarchy Level
[edit system]
Description
Set system-wide tracing options for Junos OS Evolved. Tracing is a process about getting information regarding a program's execution. A programmer adds specific code to a program, called a tracepoint, which when enabled triggers a log event, which gives the programmer visibility into how the program is executing.
Options
application-name |
Name of the application for which tracing
should be applied. You can see a list of the applications for Junos
OS Evolved by issuing the |
enabled (on | off) |
Enter |
group group-name |
The name of the trace group for which the configuration should be applied. |
level level |
Trace level of the application. The following levels are available, listed in the order of highest severity first:
You can configure the application’s level here. The program determines the level of the tracepoints. If the application's level is at least as inclusive as (that is, the same as or of higher severity) the tracepoint's level, then the trace event is able to fire. If the application's level is less inclusive (of lower severity) than the tracepoint's level, then the trace event is not able to fire. The default trace level is |
node node-name |
Name of a node. Node names can be |
tracepoint tracepoint-name |
Name of a tracepoint. A tracepoint is an event in the program, which can give the developer visibility into how the program is executing. |
Required Privilege Level
admin
Release Information
Statement introduced in Junos OS Evolved 18.2R1.