diff --git a/samples/net/leds_demo/prj.conf b/samples/net/leds_demo/prj.conf index acad5e47d1..ed4fc64cb3 100644 --- a/samples/net/leds_demo/prj.conf +++ b/samples/net/leds_demo/prj.conf @@ -3,8 +3,6 @@ CONFIG_NETWORKING=y CONFIG_NET_IPV6=y CONFIG_NET_LOG=y CONFIG_NET_UDP=y -CONFIG_SYS_LOG=y -CONFIG_SYS_LOG_SHOW_COLOR=y CONFIG_ENTROPY_GENERATOR=y CONFIG_TEST_RANDOM_GENERATOR=y CONFIG_COAP=y diff --git a/samples/net/leds_demo/src/leds-demo.c b/samples/net/leds_demo/src/leds-demo.c index 7622fff2ef..4d3d7dd35d 100644 --- a/samples/net/leds_demo/src/leds-demo.c +++ b/samples/net/leds_demo/src/leds-demo.c @@ -4,11 +4,8 @@ * SPDX-License-Identifier: Apache-2.0 */ -#if 1 -#define SYS_LOG_DOMAIN "coap-server" -#define NET_SYS_LOG_LEVEL SYS_LOG_LEVEL_DEBUG -#define NET_LOG_ENABLED 1 -#endif +#define LOG_MODULE_NAME net_leds_demo +#define NET_LOG_LEVEL LOG_LEVEL_DBG #include