file tailf log
Focus
Focus

file tailf log

Table of Contents

file tailf log

Use the file tailf log command to debug logs as it allows users to tail and follow logs as they get updated.

Command

file tailf log <name of the log>

Options

None

Command Notes

RoleSuper, Read Only
Related Commands
Introduced inRelease 4.6.1

Example

# file tailf log syslog { "_ts": "2018-03-08T04:38:54.303Z", "_prog": "bgpd", "_pid":22376, "_msgid": "@EoQhBD", "text": "Terminating on signal", "_fac": "syslog", "_level": "note" } { "_ts": "2018-03-08T04:38:54.316Z", "_prog": "zebra", "_pid":22372, "_msgid": "@cecePC", "text": "client 20 disconnected. 0 bgproutes removed from the rib", "_fac": "syslog", "_level": "note" } { "_ts": "2018-03-08T04:40:05.815Z", "_prog": "zebra", "_pid":22372, "_msgid": "@EoQhBD", "text": "Terminating on signal", "_fac": "syslog", "_level": "note" } { "_ts": "2018-03-08T05:15:34.549Z", "_prog": "zebra", "_pid":26031, "_msgid": "@EoQhBD", "text": "Terminating on signal", "_fac": "syslog", "_level": "note" } { "_ts": "2018-03-08T05:15:34.583Z", "_prog": "bgpd", "_pid":26035, "_msgid": "@EoQhBD", "text": "Terminating on signal", "_fac": "syslog", "_level": "note" } { "_ts": "2018-03-08T05:19:21.753Z", "_prog": "zebra", "_pid":9915, "_msgid": "@EoQhBD", "text": "Terminating on signal", "_fac": "syslog", "_level": "note" } { "_ts": "2018-03-08T05:19:21.795Z", "_prog": "bgpd", "_pid":9919, "_msgid": "@EoQhBD", "text": "Terminating on signal", "_fac": "syslog", "_level": "note" } { "_ts": "2018-03-08T05:21:13.701Z", "_prog": "zebra", "_pid":13131, "_msgid": "@cecePC", "text": "client 20 disconnected. 0 bgproutes removed from the rib", "_fac": "syslog", "_level": "note" } { "_ts": "2018-03-08T05:33:45.370Z", "_prog": "bgpd", "_pid":14685, "_msgid": "@EoQhBD", "text": "Terminating on signal", "_fac": "syslog", "_level": "note" } { "_ts": "2018-03-08T05:33:45.373Z", "_prog": "zebra", "_pid":14681, "_msgid": "@cecePC", "text": "client 20 disconnected. 0 bgproutes removed from the rib", "_fac": "syslog", "_level": "note" } <follow syslog>