zephyr/subsys/shell
Jonathan Rico 76f74344a8 Shell: kernel: Add runtime log filtering command
Use `kernel log-level modulename severity`
Also enable it for the Bluetooth Shell.

Then one can compile-in a lot of BT modules like so:

CONFIG_BT_DEBUG_HCI_CORE=y
CONFIG_BT_DEBUG_L2CAP=y
CONFIG_BT_DEBUG_ATT=y
CONFIG_BT_DEBUG_GATT=y

And at runtime select only, e.g. GATT

kernel log-level bt_hci_core 0
kernel log-level bt_l2cap 0
kernel log-level bt_att 0

And then re-enable L2CAP if needed later

kernel log-level bt_l2cap 4

And so on..

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
2022-07-12 12:24:43 +02:00
..
backends shell: mqtt: fix call to bin2hex 2022-07-11 10:30:05 +02:00
modules Shell: kernel: Add runtime log filtering command 2022-07-12 12:24:43 +02:00
CMakeLists.txt
Kconfig logging: Remove logging v1 from the logging 2022-06-16 10:51:15 -04:00
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell.c shell: suppress newlines on boot when promt is an empty string 2022-06-05 14:42:26 +02:00
shell_cmds.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_fprintf.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_help.c
shell_help.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_history.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_log_backend.c shell: fix synchronization in log immediate mode 2022-07-06 17:59:32 +00:00
shell_ops.c shell: check echo flag in z_shell_cursor_in_empty_line() 2022-05-13 10:22:17 -05:00
shell_ops.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_utils.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_utils.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_vt100.h
shell_wildcard.c
shell_wildcard.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00