Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


traceoptions (REST API)


Hierarchy Level


Define tracing operations for the REST API service.


flag flag—Tracing operation to perform. To specify more than one tracing operation, specify all. REST API tracing options include:

  • all—All tracing operations. A combination of the juise and lighttpd tracing operations.

  • juise—Trace juise operations. Trace information is captured in /var/chroot/rest-api/var/log/juise.

  • lighttpd—Trace lighttpd operations. Trace information is captured in /var/chroot/rest-api/var/log/lighttpd.

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 14.2.