CONFIG_SHELL_BACKEND_RTT_LOG_MESSAGE_QUEUE_SIZE

Log message queue size

Type: int

Help

Amount of messages that can enqueued in order to be processed by shell thread. Too small queue may lead to logger thread being blocked (see $(module)_LOG_MESSAGE_QUEUE_TIMEOUT). Too big queue on relatively slow shell transport may lead to situation where logs are dropped because all log messages are enqueued.

Direct dependencies

SHELL_BACKEND_RTT && SHELL_BACKENDS && SHELL

(Includes any dependencies from ifs and menus.)

Default

  • 10

Kconfig definition

At <Zephyr>/subsys/shell/Kconfig.template.shell_log_queue_size:3

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:38<Zephyr>/subsys/shell/Kconfig:18<Zephyr>/subsys/shell/Kconfig.backends:153

Menu path: (Top) → Sub Systems and OS Services → Shell → Enable shell backends → Enable RTT backend

config SHELL_BACKEND_RTT_LOG_MESSAGE_QUEUE_SIZE
    int "Log message queue size"
    default 10
    depends on SHELL_BACKEND_RTT && SHELL_BACKENDS && SHELL
    help
      Amount of messages that can enqueued in order to be processed by shell
      thread. Too small queue may lead to logger thread being blocked
      (see $(module)_LOG_MESSAGE_QUEUE_TIMEOUT). Too big queue on relatively
      slow shell transport may lead to situation where logs are dropped
      because all log messages are enqueued.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)