libosmocore/src/vty
Vadim Yanitskiy 4b46b7eb53 vty/logging: logp: properly handle library specific sub-systems
The library specific sub-systems are kind of special, because their
position in the 'osmo_log_info' may vary depending on the number of
application specific sub-systems.  This is why their associated
constant values (like DLGLOBAL) are negative, and this is what
the LOGP() macro expects as the first argument.

Before this change, invoking 'logp' command with any library
specific logging sub-system would result in getting messages
printed with the fall-back DLGLOBAL sub-systems.

Change-Id: If86563e169fe1243adfa7b09c9d65d9f88c8a99e
2021-04-12 12:15:17 +00:00
..
Makefile.am Bump version: 1.4.0.535-e387-dirty → 1.5.0 2021-02-23 14:03:31 +01:00
buffer.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
command.c vty: Fix left shifting out of range on signed variable 2020-12-21 15:45:45 +01:00
cpu_sched_vty.c vty: Mark cpu_sched_vty commands with attr immediate 2020-11-09 11:24:21 +01:00
fsm_vty.c vty/fsm_vty: Add vty_out_fsm2() + vty_out_fsm_inst2() with prefix 2021-01-20 14:59:03 +00:00
logging_vty.c vty/logging: logp: properly handle library specific sub-systems 2021-04-12 12:15:17 +00:00
stats_vty.c vty: use install_lib_element() and install_lib_element_ve() 2020-10-06 00:22:22 +07:00
talloc_ctx_vty.c vty: use install_lib_element() and install_lib_element_ve() 2020-10-06 00:22:22 +07:00
tdef_vty.c vty: use install_lib_element() and install_lib_element_ve() 2020-10-06 00:22:22 +07:00
telnet_interface.c cosmetic: vty: Fix trailing whitespace 2020-10-12 15:09:37 +00:00
utils.c stop printing group description in vty_out_rate_ctr_group_fmt() 2018-10-29 13:48:47 +00:00
vector.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
vty.c vty/command: restrict the use of '.', '!', and '@' as flags 2020-10-07 14:17:02 +07:00