Skip to content

Commit cb24f24

Browse files
glneokartben
authored andcommitted
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 <[email protected]>
1 parent b0aeb04 commit cb24f24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/subsys/ipc/openamp_rsc_table/src/main_remote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#endif
2424

2525
#include <zephyr/logging/log.h>
26-
LOG_MODULE_REGISTER(openamp_rsc_table, LOG_LEVEL_DBG);
26+
LOG_MODULE_REGISTER(openamp_rsc_table);
2727

2828
#define SHM_DEVICE_NAME "shm"
2929

0 commit comments

Comments
 (0)