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,

    Sorry, I did not spot that that file had it's own log. To get debug logging here, you can set CONFIG_BT_MESH_PROV_DEVICE_LOG_LEVEL_DBG=y.

    PS: You can get a hint that this is what you need to do by looking further up in the file, where you see this:

    #define LOG_LEVEL CONFIG_BT_MESH_PROV_DEVICE_LOG_LEVEL
    #include <zephyr/logging/log.h>
    LOG_MODULE_REGISTER(bt_mesh_prov_device);

    So that can be a hint in the future, if trying to figure out how to change the log level for a specific module. Or you can search for the config in Kconfig (in the Kconfig search or in VS Code or some other tool you prefer).

Children
Related