CONFIG_SHELL_BACKEND_SERIAL_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_BACKEND_SERIAL && SHELL_BACKENDS && SHELL

(Includes any dependencies from ifs and menus.)

Default

  • 100

Kconfig definition

At subsys/shell/Kconfig.template.shell_log_queue_timeout:3

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

Menu path: (Top) → Shell → Enable shell backends → Enable serial backend

config SHELL_BACKEND_SERIAL_LOG_MESSAGE_QUEUE_TIMEOUT
    int "Log message drop timeout (in milliseconds)"
    range -1 10000
    default 100
    depends on SHELL_BACKEND_SERIAL && SHELL_BACKENDS && SHELL
    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.)