1# Copyright (c) 2024 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4config LOG_BACKEND_WS 5 bool "Websocket backend" 6 depends on WEBSOCKET_CONSOLE 7 select LOG_OUTPUT 8 default y 9 help 10 Send console messages to websocket console. 11 12if LOG_BACKEND_WS 13 14config LOG_BACKEND_WS_MAX_BUF_SIZE 15 int "Max message size" 16 range 64 1500 17 default 512 18 help 19 Maximum size of the output string that is sent via websocket. 20 21config LOG_BACKEND_WS_TX_RETRY_CNT 22 int "Number of TX retries" 23 default 2 24 help 25 Number of TX retries before dropping the full line of data. 26 27config LOG_BACKEND_WS_TX_RETRY_DELAY_MS 28 int "Delay between TX retries in milliseconds" 29 default 50 30 help 31 Sleep period between TX retry attempts. 32 33config LOG_BACKEND_WS_AUTOSTART 34 bool "Automatically start websocket backend" 35 default y if NET_CONFIG_NEED_IPV4 || NET_CONFIG_NEED_IPV6 36 help 37 When enabled automatically start the websocket backend on 38 application start. 39 40backend = WS 41backend-str = websocket 42source "subsys/logging/Kconfig.template.log_format_config" 43 44endif # LOG_BACKEND_WS 45