CONFIG_MQTT_LOG_LEVEL
(No prompt – not directly user assignable.)
Type: int
Direct dependencies
(Includes any dependencies from ifs and menus.)
Defaults
0 if
MQTT_LOG_LEVEL_OFF
|| !NET_LOG
1 if
MQTT_LOG_LEVEL_ERR
2 if
MQTT_LOG_LEVEL_WRN
3 if
MQTT_LOG_LEVEL_INF
4 if
MQTT_LOG_LEVEL_DBG
Kconfig definition
At <Zephyr>/subsys/net/Kconfig.template.log_config.net:48
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:44
→ <Zephyr>/subsys/Kconfig:39
→ <Zephyr>/subsys/net/Kconfig:87
→ <Zephyr>/subsys/net/lib/Kconfig:10
→ <Zephyr>/subsys/net/lib/mqtt/Kconfig:18
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Protocols → Socket MQTT Library Support
config MQTT_LOG_LEVEL
int
default 0 if MQTT_LOG_LEVEL_OFF || !NET_LOG
default 1 if MQTT_LOG_LEVEL_ERR
default 2 if MQTT_LOG_LEVEL_WRN
default 3 if MQTT_LOG_LEVEL_INF
default 4 if MQTT_LOG_LEVEL_DBG
default LOG_DEFAULT_LEVEL if MQTT_LOG_LEVEL_DEFAULT
depends on MQTT_LIB && NETWORKING
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)