The following examples display all available log files matching a partial name.
nfvis# show log nfvis
File Name Last Modified Size
nfvis_config.log Mon Nov 13 10:51:25 2017 311395
nfvis_setup.log Mon Nov 13 10:49:59 2017 3170
nfvis_syslog.log Mon Nov 13 10:51:25 2017 1483
nfvis# show log esc
File Name Last Modified Size
esc/debug_yangesc.log Mon Nov 13 10:49:53 2017 276748
esc/error_escmanager.log Mon Nov 13 10:50:06 2017 11825
esc/esc_confd.log Mon Nov 13 10:28:42 2017 588
esc/escmanager.log Mon Nov 13 10:50:19 2017 44597
esc/esc_postinit.log Mon Nov 13 10:50:25 2017 74940
esc/event_escmanager.log Mon Nov 13 10:50:19 2017 4791
esc/forever.log Mon Nov 13 10:49:07 2017 6892
esc/yangesc.log Mon Nov 13 10:49:53 2017 23982
The following examples show the content of a particular log file.
nfvis# show log nfvis_syslog.log
Nov 13 09:50:35 nfvisto6 %SYS-6-NFVIS_UP: System started by Power Switch. Up 1 minute, 42
seconds
Nov 13 09:51:35 nfvisto6 %SYS-6-UPGRADE_APPLY: Upgrade Process: In Progress
Nov 13 09:51:36 nfvisto6 %SYS-6-UPGRADE_APPLY: Upgrade Process: Restoring VMs
Example 2
The following example filters the content of a log file.
nfvis# show log esc/escmanager.log | ?
Possible completions:
append Append output text to a file
begin Begin with the line that matches
count Count the number of lines in the output
exclude Exclude lines that match
include Include lines that match
linnum Enumerate lines in the output
more Paginate output
nomore Suppress pagination
save Save output text to a file
until End with the line that matches
nfvis# show log esc/escmanager.log | include ERROR | more
02-Mar-2017 01:46:27,613 INFO [LogContextService.java:outputDecoratedLog():185] [tid=]
[cl=SM ]
[tags=threadName:VM_STATE_MACHINE-SystemAdminTena_demo7_0_8adb7f6a-ca5e-454d-9c14-fd9d5d21054f,stateMachineType:VM_STATE_MACHINE,
stateMachineContextId:
SystemAdminTena_demo7_0_8adb7f6a-ca5e-454d-9c14-fd9d5d21054f] VM_STATE_MACHINE-
SystemAdminTena_demo7_0_8adb7f6a-ca5e-454d-9c14-fd9d5d21054f Transition: VM_INERT_STATE
---- VM_ACTION_FAILED_EVENT ---- >
VM_ERROR_STATE
02-Mar-2017 01:46:27,613 INFO [ManagedObject.java:update():66] [tid=] [cl=DB ] [tags=] DB
TRANSACTION(477010616) -
UPDATE VMStateMachineDao with values
stateMachineContextId:SystemAdminTena_demo7_0_8adb7f6a-ca5e-454d-9c14-fd9d5d21054f;
System Log Commands
5
System Log Commands
show log