You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
979 B
31 lines
979 B
# Host command logging configs |
|
|
|
# Copyright (c) 2023 Google LLC |
|
# SPDX-License-Identifier: Apache-2.0 |
|
|
|
config EC_HOST_CMD_LOG_DBG_BUFFERS |
|
bool "Log full params and response buffers in debug log level" |
|
depends on EC_HC_LOG_LEVEL_DBG |
|
help |
|
Every command is logged with the debug logging level. Use this config |
|
to decide if full request and response buffers are logged alongside |
|
other command parameters. |
|
|
|
config EC_HOST_CMD_LOG_SUPPRESSED_NUMBER |
|
int "Maximum number of suppressed commands" |
|
default 8 |
|
help |
|
Suppressed commands are not logged on host command reception. Set |
|
the maximum number of the suppressed commands. Set 0 to disable |
|
suppressing commands. |
|
|
|
config EC_HOST_CMD_LOG_SUPPRESSED_INTERVAL_SECS |
|
int "Interval of logging suppressed commands" |
|
default 3600 |
|
help |
|
Once every interval the suppressed commands are logged with the |
|
suppression number. |
|
|
|
config EC_HOST_CMD_LOG_SUPPRESSED |
|
bool |
|
default y if (EC_HOST_CMD_LOG_SUPPRESSED_NUMBER > 0)
|
|
|