The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_NET_SOCKETS_LOG_LEVEL

(No prompt – not directly user assignable.)

Type: int

Direct dependencies

NET_SOCKETS && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At subsys/net/Kconfig.template.log_config.net:48

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:39subsys/net/Kconfig:91subsys/net/lib/Kconfig:30subsys/net/lib/sockets/Kconfig:230

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Libraries → BSD Sockets compatible API

config NET_SOCKETS_LOG_LEVEL
    int
    default 0 if NET_SOCKETS_LOG_LEVEL_OFF || !NET_LOG
    default 1 if NET_SOCKETS_LOG_LEVEL_ERR
    default 2 if NET_SOCKETS_LOG_LEVEL_WRN
    default 3 if NET_SOCKETS_LOG_LEVEL_INF
    default 4 if NET_SOCKETS_LOG_LEVEL_DBG
    default LOG_DEFAULT_LEVEL if NET_SOCKETS_LOG_LEVEL_DEFAULT
    depends on NET_SOCKETS && NETWORKING

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)