mirror of
https://github.com/emqx/neuron.git
synced 2026-10-17 04:40:42 +08:00
delete api related to log file (deprecated)
This commit is contained in:
@@ -122,12 +122,6 @@ static struct neu_http_handler cors_handler[] = {
|
||||
{
|
||||
.url = "/api/v2/log/level",
|
||||
},
|
||||
{
|
||||
.url = "/api/v2/log/list",
|
||||
},
|
||||
{
|
||||
.url = "/api/v2/log/file",
|
||||
},
|
||||
{
|
||||
.url = "/api/v2/global/config",
|
||||
},
|
||||
@@ -495,18 +489,6 @@ static struct neu_http_handler rest_handlers[] = {
|
||||
.url = "/api/v2/log/global",
|
||||
.value.handler = handle_get_global_log_level,
|
||||
},
|
||||
{
|
||||
.method = NEU_HTTP_METHOD_GET,
|
||||
.type = NEU_HTTP_HANDLER_FUNCTION,
|
||||
.url = "/api/v2/log/list",
|
||||
.value.handler = handle_log_list,
|
||||
},
|
||||
{
|
||||
.method = NEU_HTTP_METHOD_GET,
|
||||
.type = NEU_HTTP_HANDLER_FUNCTION,
|
||||
.url = "/api/v2/log/file",
|
||||
.value.handler = handle_log_file,
|
||||
},
|
||||
{
|
||||
.method = NEU_HTTP_METHOD_GET,
|
||||
.type = NEU_HTTP_HANDLER_FUNCTION,
|
||||
|
||||
Reference in New Issue
Block a user