aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-10-30 14:43:08 -0400
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-11-05 10:40:29 +0000
commit7def5ba81592d3c46f4da0c116f50bfe190928fe (patch)
tree5a6bca82db6bfa61f00b465db54c651dc8fa666a
parentac68457e5555d6b6afe5fef30981fe3453f29c07 (diff)
vlib: fix subclass name being truncated in output
Type: fix Change-Id: I50816cca4eb88f58209138a348fc5954ab835f5b Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com> (cherry picked from commit c9832e3df839d164a801b57cd5f4ee014efe496b)
-rw-r--r--src/vlib/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/log.c b/src/vlib/log.c
index 578fc942604..9fc0ee5c35b 100644
--- a/src/vlib/log.c
+++ b/src/vlib/log.c
@@ -265,7 +265,7 @@ show_log (vlib_main_t * vm,
while (count--)
{
e = vec_elt_at_index (lm->entries, i);
- vlib_cli_output (vm, "%U %-10U %-10U %v",
+ vlib_cli_output (vm, "%U %-10U %-14U %v",
format_time_float, 0, e->timestamp + time_offset,
format_vlib_log_level, e->level,
format_vlib_log_class, e->class, e->string);