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.
77 lines
2.0 KiB
77 lines
2.0 KiB
menu "Debug Config"
|
|
|
|
config SOCT_LOG_SUPPORT
|
|
bool "Log Support"
|
|
default n if FUNCTION_RELEASE
|
|
default y
|
|
help
|
|
this flag is used to enable/disable debug messages of some specific modules, see detail inside
|
|
|
|
choice
|
|
prompt "Log Level"
|
|
default SOCT_LOG_LEVEL_TRACE
|
|
depends on SOCT_LOG_SUPPORT
|
|
|
|
config SOCT_LOG_LEVEL_ALERT
|
|
bool "ALERT"
|
|
config SOCT_LOG_LEVEL_FATAL
|
|
bool "FATAL"
|
|
config SOCT_LOG_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config SOCT_LOG_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config SOCT_LOG_LEVEL_NOTICE
|
|
bool "NOTICE"
|
|
config SOCT_LOG_LEVEL_INFO
|
|
bool "INFO"
|
|
config SOCT_LOG_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config SOCT_LOG_LEVEL_TRACE
|
|
bool "TRACE"
|
|
endchoice
|
|
|
|
config SOCT_LOG_LEVEL
|
|
int
|
|
depends on SOCT_LOG_SUPPORT
|
|
default 0 if SOCT_LOG_LEVEL_ALERT
|
|
default 1 if SOCT_LOG_LEVEL_FATAL
|
|
default 2 if SOCT_LOG_LEVEL_ERROR
|
|
default 3 if SOCT_LOG_LEVEL_WARNING
|
|
default 4 if SOCT_LOG_LEVEL_NOTICE
|
|
default 5 if SOCT_LOG_LEVEL_INFO
|
|
default 6 if SOCT_LOG_LEVEL_DEBUG
|
|
default 7 if SOCT_LOG_LEVEL_TRACE
|
|
|
|
config SOCT_LOG_NETWORK_SUPPORT
|
|
bool "Network Log Support"
|
|
default n
|
|
depends on SOCT_LOG_SUPPORT
|
|
help
|
|
This option controls the network log output, disabled by default.
|
|
|
|
config SOCT_LOG_UDISK_SUPPORT
|
|
bool "UDisk Log Support"
|
|
default n
|
|
depends on SOCT_LOG_SUPPORT
|
|
help
|
|
This option controls the u-disk log, disabled by default.
|
|
when enabled, the log will be written into u-disk.
|
|
|
|
config SOCT_PROC_SUPPORT
|
|
bool "Proc Support"
|
|
default n if FUNCTION_RELEASE
|
|
default y
|
|
help
|
|
when enabled, proc system is supported.
|
|
this is not allowed in some specific security (CAS) release case, enabled by default.
|
|
|
|
config SOCT_PROC_WRITE_SUPPORT
|
|
bool "Proc Write Support"
|
|
depends on SOCT_PROC_SUPPORT
|
|
default n if FUNCTION_RELEASE
|
|
default y
|
|
help
|
|
when enabled, the proc system have write-permission.
|
|
|
|
endmenu
|