syslogmask: add default value Kconfig to syslogmask

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd
2023-11-21 15:54:51 +08:00
committed by Xiang Xiao
parent 300ce45365
commit e608d5522d
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -11,6 +11,10 @@ config ARCH_SYSLOG
bool bool
default n default n
config SYSLOG_DEFAULT_MASK
hex "syslog mask default value"
default 0xff
comment "SYSLOG options" comment "SYSLOG options"
config SYSLOG_MAX_CHANNELS config SYSLOG_MAX_CHANNELS
+1 -1
View File
@@ -37,7 +37,7 @@
/* The currently enabled set of syslog priorities */ /* The currently enabled set of syslog priorities */
uint8_t g_syslog_mask = LOG_ALL; uint8_t g_syslog_mask = CONFIG_SYSLOG_DEFAULT_MASK;
/**************************************************************************** /****************************************************************************
* Public Functions * Public Functions