Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Configure IKE logging details.


filename filename

Specify the filename for logging—for example, /var/log/filename.log.

  • Default: /var/log/charon.log

level level

Specify the logging level (how much detail is included) of the IKE daemon’s log messages. Following are the levels of logging available:

  • 0: Very basic auditing logs (for example SA up/SA down).

  • 1: Generic control flow with errors. This is the default.

  • 2: More detailed debugging control flow.

  • 3: Including RAW (unprocessed) data dumps in hex.

  • Range: 0 (minimal logging) through 3

  • Default: 1

Required Privilege Level

security—To view this statement in the configuration.

security-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Evolved Release 18.3R1.