CONFIG_SHELL_BT_NUS_LOG_MESSAGE_QUEUE_TIMEOUT

Log message drop timeout (in milliseconds)

Type: int

Help

If queue with pending log messages is full, oldest log message is
dropped if queue is still full after requested time (-1 is forever).
Logger thread is blocked for that period, thus long timeout impacts
other logger  backends and must be used with care.

Direct dependencies

SHELL_BT_NUS

(Includes any dependencies from ifs and menus.)

Default

  • 100

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:92<nRF>/subsys/Kconfig:36<nRF>/subsys/shell/Kconfig:24

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Shell Bluetooth NUS transport

config SHELL_BT_NUS_LOG_MESSAGE_QUEUE_TIMEOUT
    int "Log message drop timeout (in milliseconds)"
    range -1 10000
    default 100
    depends on SHELL_BT_NUS
    help
      If queue with pending log messages is full, oldest log message is
      dropped if queue is still full after requested time (-1 is forever).
      Logger thread is blocked for that period, thus long timeout impacts
      other logger  backends and must be used with care.

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