1# Host command logging configs
2
3# Copyright (c) 2023 Google LLC
4# SPDX-License-Identifier: Apache-2.0
5
6config EC_HOST_CMD_LOG_DBG_BUFFERS
7	bool "Log full params and response buffers in debug log level"
8	depends on EC_HC_LOG_LEVEL_DBG
9	help
10	  Every command is logged with the debug logging level. Use this config
11	  to decide, if full reqest and response buffers are logged alongside
12	  other command parameters.
13
14config EC_HOST_CMD_LOG_SUPPRESSED_NUMBER
15	int "Maximum number of suppressed commands"
16	default 8
17	help
18	  Suppressed commands are not logged on host command reception. Set
19	  the maximum number of the suppressed commands. Set 0 to disable
20	  suppressing commands.
21
22config EC_HOST_CMD_LOG_SUPPRESSED_INTERVAL_SECS
23	int "Interval of logging suppressed commands"
24	default 3600
25	help
26	  Once every interval the suppressed commands are logged with the
27	  suppression number.
28
29config EC_HOST_CMD_LOG_SUPPRESSED
30	bool
31	default y if (EC_HOST_CMD_LOG_SUPPRESSED_NUMBER > 0)
32