76f74344a8
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> |
||
---|---|---|
.. | ||
backends | ||
modules | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.template.shell_log_queue_size | ||
Kconfig.template.shell_log_queue_timeout | ||
shell.c | ||
shell_cmds.c | ||
shell_fprintf.c | ||
shell_help.c | ||
shell_help.h | ||
shell_history.c | ||
shell_log_backend.c | ||
shell_ops.c | ||
shell_ops.h | ||
shell_utils.c | ||
shell_utils.h | ||
shell_vt100.h | ||
shell_wildcard.c | ||
shell_wildcard.h |