mirror of https://gerrit.osmocom.org/libosmocore
logging_vty: Print 'log filter all' info in 'show logging vty'
When we print information about the current logging configuration, it makes sense to also print information about the log filters.
This commit is contained in:
parent
008e53baae
commit
6d2d4d688e
|
@ -247,6 +247,12 @@ static void vty_print_logtarget(struct vty *vty, const struct log_info *info,
|
|||
info->cat[i].description,
|
||||
VTY_NEWLINE);
|
||||
}
|
||||
|
||||
vty_out(vty, " Log Filter 'ALL': %s%s",
|
||||
tgt->filter_map & LOG_FILTER_ALL ? "Enabled" : "Disabled",
|
||||
VTY_NEWLINE);
|
||||
|
||||
/* FIXME: print application specific filters */
|
||||
}
|
||||
|
||||
#define SHOW_LOG_STR "Show current logging configuration\n"
|
||||
|
|
Loading…
Reference in New Issue