diff --git a/subsys/net/ip/l2/Kconfig b/subsys/net/ip/l2/Kconfig index 78056dd4d69..3c16c4d535c 100644 --- a/subsys/net/ip/l2/Kconfig +++ b/subsys/net/ip/l2/Kconfig @@ -25,6 +25,7 @@ config NET_L2_ETHERNET config NET_DEBUG_L2_ETHERNET bool "Debug Ethernet L2 layer" default n + default y if NET_LOG_GLOBAL depends on NET_LOG help Enables Ethernet L2 output debug messages @@ -38,6 +39,7 @@ config NET_OFFLOAD config NET_DEBUG_NET_OFFLOAD bool "Debug Net Offload Layer" default n + default y if NET_LOG_GLOBAL depends on NET_LOG depends on NET_OFFLOAD help @@ -83,6 +85,7 @@ config NET_L2_BT_SEC_LEVEL config NET_DEBUG_L2_BT bool "Debug Bluetooth L2 layer" default n + default y if NET_LOG_GLOBAL depends on NET_LOG depends on NET_L2_BT help @@ -125,6 +128,7 @@ config NET_DEBUG_ARP bool "Debug IPv4 ARP" depends on NET_ARP && NET_LOG default n + default y if NET_LOG_GLOBAL help Enables core ARP code part to output debug messages diff --git a/subsys/net/ip/l2/ieee802154/Kconfig b/subsys/net/ip/l2/ieee802154/Kconfig index 4880ba545a9..4f50e31230b 100644 --- a/subsys/net/ip/l2/ieee802154/Kconfig +++ b/subsys/net/ip/l2/ieee802154/Kconfig @@ -21,6 +21,7 @@ config NET_L2_IEEE802154_MGMT config NET_DEBUG_L2_IEEE802154 bool "Enable IEEE 802.15.4 stack debug messages" default n + default y if NET_LOG_GLOBAL depends on NET_LOG help Enable it if you want to see what's happening. Only useful @@ -90,6 +91,7 @@ config NET_DEBUG_L2_IEEE802154_FRAGMENT bool "Enable debug support for IEEE 802.15.4 fragmentation" depends on NET_L2_IEEE802154_FRAGMENT && NET_LOG default n + default y if NET_LOG_GLOBAL config NET_L2_IEEE802154_SECURITY bool "Enable IEEE 802.15.4 security [EXPERIMENTAL]" diff --git a/subsys/net/lib/dns/Kconfig b/subsys/net/lib/dns/Kconfig index d10c8318081..f66ca17e464 100644 --- a/subsys/net/lib/dns/Kconfig +++ b/subsys/net/lib/dns/Kconfig @@ -112,6 +112,7 @@ config DNS_NUM_CONCUR_QUERIES config NET_DEBUG_DNS_RESOLVE bool "Debug DNS resolver" default n + default y if NET_LOG_GLOBAL help Enables DNS resolver code to output debug messages diff --git a/subsys/net/lib/sockets/Kconfig b/subsys/net/lib/sockets/Kconfig index ba5eea0ee26..9d5d03ea162 100644 --- a/subsys/net/lib/sockets/Kconfig +++ b/subsys/net/lib/sockets/Kconfig @@ -35,6 +35,7 @@ config NET_SOCKETS_POLL_MAX config NET_DEBUG_SOCKETS bool "Debug BSD Sockets compatible API calls" default n + default y if NET_LOG_GLOBAL help Enables logging for sockets code. (Logging level is defined by SYS_LOG_NET_LEVEL setting).