-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig
107 lines (99 loc) · 2.97 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
###############################################################################
#
# HttpServer
#
# SPDX-FileCopyrightText: 2019 Mike Dunston (atanisoft)
# SPDX-License-Identifier: BSD-2-Clause
#
###############################################################################
#
# Log level constants from from components/OpenMRNLite/src/utils/logging.h
#
# ALWAYS : -1
# FATAL : 0
# LEVEL_ERROR : 1
# WARNING : 2
# INFO : 3
# VERBOSE : 4
#
# Note that FATAL will cause the MCU to reboot!
menu "HTTP/DNS Server"
choice HTTP_DNS_LOGGING
bool "DNS logging"
default HTTP_DNS_LOGGING_MINIMAL
config HTTP_DNS_LOGGING_VERBOSE
bool "Verbose"
config HTTP_DNS_LOGGING_MINIMAL
bool "Minimal"
endchoice
config HTTP_DNS_LOG_LEVEL
int
default 4 if HTTP_DNS_LOGGING_MINIMAL
default 3 if HTTP_DNS_LOGGING_VERBOSE
default 5
choice HTTP_SERVER_LOGGING
bool "HttpRequest logging"
default HTTP_SERVER_LOGGING_MINIMAL
config HTTP_SERVER_LOGGING_VERBOSE
bool "Verbose"
config HTTP_SERVER_LOGGING_MINIMAL
bool "Minimal"
endchoice
config HTTP_SERVER_LOG_LEVEL
int
default 4 if HTTP_SERVER_LOGGING_MINIMAL
default 3 if HTTP_SERVER_LOGGING_VERBOSE
default 5
choice HTTP_REQ_LOGGING
bool "HttpRequest logging"
default HTTP_REQ_LOGGING_MINIMAL
config HTTP_REQ_LOGGING_VERBOSE
bool "Verbose"
config HTTP_REQ_LOGGING_MINIMAL
bool "Minimal"
endchoice
config HTTP_REQ_LOG_LEVEL
int
default 4 if HTTP_REQ_LOGGING_MINIMAL
default 3 if HTTP_REQ_LOGGING_VERBOSE
default 5
choice HTTP_RESP_LOGGING
bool "HttpRequest logging"
default HTTP_RESP_LOGGING_MINIMAL
config HTTP_RESP_LOGGING_VERBOSE
bool "Verbose"
config HTTP_RESP_LOGGING_MINIMAL
bool "Minimal"
endchoice
config HTTP_RESP_LOG_LEVEL
int
default 4 if HTTP_RESP_LOGGING_MINIMAL
default 3 if HTTP_RESP_LOGGING_VERBOSE
default 5
choice HTTP_REQ_FLOW_LOGGING
bool "HttpRequestFlow logging"
default HTTP_REQ_FLOW_LOGGING_MINIMAL
config HTTP_REQ_FLOW_LOGGING_VERBOSE
bool "Verbose"
config HTTP_REQ_FLOW_LOGGING_MINIMAL
bool "Minimal"
endchoice
config HTTP_REQ_FLOW_LOG_LEVEL
int
default 4 if HTTP_REQ_FLOW_LOGGING_MINIMAL
default 3 if HTTP_REQ_FLOW_LOGGING_VERBOSE
default 5
choice HTTP_WS_LOGGING
bool "WebSocket logging"
default HTTP_WS_LOGGING_MINIMAL
config HTTP_WS_LOGGING_VERBOSE
bool "Verbose"
config HTTP_WS_LOGGING_MINIMAL
bool "Minimal"
endchoice
config HTTP_WS_LOG_LEVEL
int
default 4 if HTTP_WS_LOGGING_MINIMAL
default 3 if HTTP_WS_LOGGING_VERBOSE
default 5
endmenu