zephyr/subsys/shell/Kconfig.template.shell_log_queue_size
Wojciech Slenska 188d2dfcca shell: shell_log_backend: take buffer size from config
Use LOG_MESSAGE_QUEUE_SIZE config instead of hardcoded value.
LOG_MESSAGE_QUEUE_SIZE default value has been changed to 512, so
it is now matching to the hardcoded value.

Signed-off-by: Wojciech Slenska <wsl@trackunit.com>
2022-11-22 13:05:29 +09:00

12 lines
483 B
Plaintext

# SPDX-License-Identifier: Apache-2.0
config $(module)_LOG_MESSAGE_QUEUE_SIZE
int "Log message queue size"
default $(default-size)
help
Size of buffer for messages that can be enqueued in order to be processed
by shell thread. Too small queue may lead to the logger thread being blocked
(see $(module)_LOG_MESSAGE_QUEUE_TIMEOUT). Too big queue on relatively
slow shell transport may lead to situations where logs are dropped
because all log messages are enqueued.