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

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

Defaults

Kconfig definition

At subsys/net/ip/Kconfig.debug:19

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:22subsys/net/Kconfig:91subsys/net/ip/Kconfig:30

Menu path: (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
    range 0 4 if SYS_LOG && NET_LOG && !NET_RAW_MODE && NETWORKING
    default 1 if SYS_LOG && NET_LOG && !NET_RAW_MODE && NETWORKING
    depends on SYS_LOG && NET_LOG && !NET_RAW_MODE && 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.)