CONFIG_SYS_LOG_NET_LEVEL

Network Stack Logging level

Type: int

Help

Sets log level for the network stack. Levels are: 0 OFF, do not write 1 ERROR, only write SYS_LOG_ERR 2 WARNING, write SYS_LOG_WRN in addition to previous level 3 INFO, write SYS_LOG_INF in addition to previous levels 4 DEBUG, write SYS_LOG_DBG in addition to previous levels

Direct dependencies

SYS_LOG && NET_LOG && !NET_RAW_MODE && NETWORKING && NETWORKING

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/net/ip/Kconfig.debug:20, in menu (top menu) Networking IP stack Enable network stack logging and debugging:

config SYS_LOG_NET_LEVEL
    int
    prompt "Network Stack Logging level" if SYS_LOG && NET_LOG && !NET_RAW_MODE && NETWORKING && NETWORKING
    range 0 4 if SYS_LOG && NET_LOG && !NET_RAW_MODE && NETWORKING && NETWORKING
    default 1 if SYS_LOG && NET_LOG && !NET_RAW_MODE && NETWORKING && NETWORKING
    depends on SYS_LOG && NET_LOG && !NET_RAW_MODE && NETWORKING && NETWORKING
    help
      Sets log level for the network stack.
      Levels are:
      0 OFF, do not write
      1 ERROR, only write SYS_LOG_ERR
      2 WARNING, write SYS_LOG_WRN in addition to previous level
      3 INFO, write SYS_LOG_INF in addition to previous levels
      4 DEBUG, write SYS_LOG_DBG in addition to previous levels

(Definitions include propagated dependencies, including from if’s and menus.)