aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-10-30 14:43:08 -0400
committerDave Wallace <dwallacelf@gmail.com>2019-10-30 20:06:36 +0000
commitc9832e3df839d164a801b57cd5f4ee014efe496b (patch)
tree2e385738c27040f5f779b979e314d40c1b497b76
parente74718fa987df415f2e2c6509461b2b3a9936331 (diff)
vlib: fix subclass name being truncated in output
Type: fix Change-Id: I50816cca4eb88f58209138a348fc5954ab835f5b Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
-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 e3f0cf45a73..b11d0815aef 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);