samples: ipc: openamp_rsc_table: Lower logging level

Having the log level set at debug causes a message to be printed
every time a mailbox message is sent or received. If we log this
using the RPMSG shell, then each message sent generates another
message, causing an an infinite message loop.

Do not set the level to debug by default, allow the level to
be set by the config LOG_DEFAULT_LEVEL.

Signed-off-by: Andrew Davis <afd@ti.com>
This commit is contained in:
Andrew Davis 2025-02-11 12:05:39 -06:00 committed by Benjamin Cabé
commit cb24f24fb8

View file

@ -23,7 +23,7 @@
#endif
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(openamp_rsc_table, LOG_LEVEL_DBG);
LOG_MODULE_REGISTER(openamp_rsc_table);
#define SHM_DEVICE_NAME "shm"