CONFIG_LOG_TAG_MAX_LEN

Tag max length

Type: int

Help

Setting non-zero value enables option to specify a tag which is
prepended to each log message. Tag can be changed at runtime.

Direct dependencies

!LOG_FRONTEND && !LOG_MODE_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

At <Subsystem>/logging/Kconfig.formatting:68

Included via Kconfig:8Kconfig.zephyr:44<Subsystem>/Kconfig:31<Subsystem>/logging/Kconfig:19

Menu path: (Top) → Sub Systems and OS Services → Logging → Output Formatting

config LOG_TAG_MAX_LEN
    int "Tag max length"
    range 0 64
    default 0
    depends on !LOG_FRONTEND && !LOG_MODE_MINIMAL && LOG
    help
      Setting non-zero value enables option to specify a tag which is
      prepended to each log message. Tag can be changed at runtime.

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