diff options
author | luoyaozu <luoyaozu@foxmail.com> | 2022-11-23 15:59:17 +0800 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2023-03-06 18:00:04 +0000 |
commit | 2d3da8054bab654f36c26a04557c073b12594530 (patch) | |
tree | da55143de71ffcd6e340733dc57799565157cd50 /src/vat2 | |
parent | 79cb1d53c1d713dd731dc58c5338684d8d806680 (diff) |
vlib: fix vlib_log for elog
test output before fix:
DBGvpp# event-logger clear
DBGvpp# test log warn cli log test-log for-elog
cli/log [warn ]: test-log for-elog
DBGvpp# test log info cli log test-log for-elog
cli/log [info ]: test-log for-elog
DBGvpp# show event-logger
2 of 131072 events in buffer, logger running
53.022586433: log-notice: test-log for-elog
60.318329361: log-debug: test-log for-elog
DBGvpp#
test output after fix:
DBGvpp# event-logger clear
DBGvpp# test log warn cli log test-log for-elog
cli/log [warn ]: test-log for-elog
DBGvpp# test log info cli log test-log for-elog
cli/log [info ]: test-log for-elog
DBGvpp# show event-logger
2 of 131072 events in buffer, logger running
18.362721151: log-warn: test-log for-elog
25.124570555: log-info: test-log for-elog
DBGvpp#
Type: fix
Signed-off-by: luoyaozu <luoyaozu@foxmail.com>
Change-Id: Ie1122787f9efb611cdafc671b4ccf68b43984924
Diffstat (limited to 'src/vat2')
0 files changed, 0 insertions, 0 deletions