From ecf29a2f46f83207d1f0f20dff0ff7cb90e7e1e7 Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Tue, 19 Mar 2024 09:56:28 +0100 Subject: [PATCH] tests/bsim/bt l2cap/stress: Be more silent This test was way too verbose (produced a log over 65000 lines long). Let's mute it a bit. If the test fails, developers can raise the log level as needed. Signed-off-by: Alberto Escolar Piedras --- tests/bsim/bluetooth/host/l2cap/stress/prj.conf | 2 +- tests/bsim/bluetooth/host/l2cap/stress/src/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bsim/bluetooth/host/l2cap/stress/prj.conf b/tests/bsim/bluetooth/host/l2cap/stress/prj.conf index a28127716f..fecd8ba08d 100644 --- a/tests/bsim/bluetooth/host/l2cap/stress/prj.conf +++ b/tests/bsim/bluetooth/host/l2cap/stress/prj.conf @@ -47,7 +47,7 @@ CONFIG_LOG=y CONFIG_ASSERT=y CONFIG_NET_BUF_POOL_USAGE=y -CONFIG_BT_L2CAP_LOG_LEVEL_DBG=y +# CONFIG_BT_L2CAP_LOG_LEVEL_DBG=y # CONFIG_BT_CONN_LOG_LEVEL_DBG=y CONFIG_LOG_THREAD_ID_PREFIX=y CONFIG_THREAD_NAME=y diff --git a/tests/bsim/bluetooth/host/l2cap/stress/src/main.c b/tests/bsim/bluetooth/host/l2cap/stress/src/main.c index 1eed057519..b20dafea3f 100644 --- a/tests/bsim/bluetooth/host/l2cap/stress/src/main.c +++ b/tests/bsim/bluetooth/host/l2cap/stress/src/main.c @@ -11,7 +11,7 @@ #define LOG_MODULE_NAME main #include -LOG_MODULE_REGISTER(LOG_MODULE_NAME, LOG_LEVEL_DBG); +LOG_MODULE_REGISTER(LOG_MODULE_NAME, LOG_LEVEL_INF); CREATE_FLAG(is_connected); CREATE_FLAG(flag_l2cap_connected);