CONFIG_ZTEST=y CONFIG_TEST_LOGGING_DEFAULTS=n CONFIG_LOG=y CONFIG_LOG_PRINTK=n CONFIG_LOG_BUFFER_SIZE=512 CONFIG_ASSERT=y CONFIG_MAIN_STACK_SIZE=2048 # Disable any logs that could interfere. CONFIG_KERNEL_LOG_LEVEL_OFF=y CONFIG_SOC_LOG_LEVEL_OFF=y CONFIG_ARCH_LOG_LEVEL_OFF=y CONFIG_LOG_FUNC_NAME_PREFIX_DBG=n CONFIG_LOG_PROCESS_THREAD=y # Disable all potential default backends CONFIG_LOG_BACKEND_UART=n CONFIG_LOG_BACKEND_NATIVE_POSIX=n CONFIG_LOG_BACKEND_RTT=n CONFIG_LOG_BACKEND_XTENSA_SIM=n # Enable blocking in thread CONFIG_LOG_MODE_DEFERRED=y CONFIG_LOG_BLOCK_IN_THREAD=y # Block in thread indefinitely CONFIG_LOG_BLOCK_IN_THREAD_TIMEOUT_MS=-1