From 8e3a266b691f3729472c3551125e09976567b6f6 Mon Sep 17 00:00:00 2001 From: chrysn Date: Mon, 27 Feb 2023 21:52:41 +0100 Subject: [PATCH] tinydtls: Reduce default verbosity --- pkg/tinydtls/Makefile.include | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/tinydtls/Makefile.include b/pkg/tinydtls/Makefile.include index 3283906710e1..1bcdeec1f9be 100644 --- a/pkg/tinydtls/Makefile.include +++ b/pkg/tinydtls/Makefile.include @@ -84,3 +84,7 @@ ifneq (,$(filter gcoap,$(USEMODULE))) # default configuration; adding some to be safe against variable size fields. CFLAGS += "-DDTLS_MAX_BUF=($(CONFIG_GCOAP_PDU_BUF_SIZE) + 36)" endif + +# TinyDTLS emits several messages during connection establishment at the info +# level; this is way more verbose than common in RIOT. +CFLAGS += -DLOG_LEVEL=LOG_WARNING