Unable to read LOG_DBG in Mesh Light Fixture

HI,

I want to read all LOG_DBG while i m provisioning my node, for better understanding the provisioning process.

Currently i m getting some logs as shown in the photo.

I want to read all these log in this function.

Please guide us for how to get these logs.

thanks

Parents Reply
  • Hi

    You can use the same method as explained before to find the relevant configuration here. Take zephyr/subsys/bluetooth/mesh/msg.c first. There you have on line 11:

    #define LOG_LEVEL CONFIG_BT_MESH_ACCESS_LOG_LEVEL

    So the log level comes from the CONFIG_BT_MESH_ACCESS_LOG_LEVEL Kconfig. Then you can for instance put that in to the Kconfgi search here to get the relevant configs listed (though it is essentially just the config from the .c file with _DBG, _INF, etc appended).

    So if you want all logs, you could add CONFIG_BT_MESH_ACCESS_LOG_LEVEL_DBG=y to your prj.conf.

    With the similar approach you can find tat for access.c you can use CONFIG_BT_MESH_ACCESS_LOG_LEVEL_INF=y and for transport.c you can use CONFIG_BT_MESH_TRANS_LOG_LEVEL_INF=y.

Children
No Data
Related