LogΒΆ

Display system logs.

vrouter> show log [max-lines <NUM>]

To filter logs by service/VRF:

vrouter> show log [service <NAME>] [vrf <NAME>]

To show kernel logs:

vrouter> show log kernel

Example:

vrouter> show log service ntp vrf main max-lines 2
-- Logs begin at Tue 2018-09-25 18:23:28 CEST, end at Tue 2018-09-25 18:34:45 CEST. --
Sep 25 18:34:37 dut-vm ntpd[1023]: Soliciting pool server 137.74.28.231
Sep 25 18:34:45 dut-vm ntpd[1023]: Soliciting pool server 2001:67c:1560:8003::c7

See also

The command reference for details about the API.