Hello, how can I increase LOG backend queue size? I was comparing some sdk_config settings with some examples, but did not find difference and the example does not fire this message. I am not logging much more info than the example.
Thank you.
Hello, how can I increase LOG backend queue size? I was comparing some sdk_config settings with some examples, but did not find difference and the example does not fire this message. I am not logging much more info than the example.
Thank you.
Hello,
I have the same problem. Is there any known solution which won't affect whole sdk_config.h file?
Ok, I have found the reason, it is this line:
#define NRF_LOG_DEFERRED 0
#define NRF_LOG_DEFERRED 1
Another words - bigger log buffer than 4 bytes can not be sent at once. Thus, you have to enable deferred logger. In my opinion there should be suitable comment in cli example above the lines:
/** @brief Command line interface instance. */ #define CLI_EXAMPLE_LOG_QUEUE_SIZE (4)
Best regards,
Ok, I have found the reason, it is this line:
#define NRF_LOG_DEFERRED 0
#define NRF_LOG_DEFERRED 1
Another words - bigger log buffer than 4 bytes can not be sent at once. Thus, you have to enable deferred logger. In my opinion there should be suitable comment in cli example above the lines:
/** @brief Command line interface instance. */ #define CLI_EXAMPLE_LOG_QUEUE_SIZE (4)
Best regards,
Thank you very much!
This question has been wasted me for two hours until saw your answer