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 subsys/shell/Kconfig.template.shell_log_queue_size:3

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:24subsys/shell/Kconfig:18subsys/shell/Kconfig.backends:142

Menu path: (Top) → 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.)