[refactor](http) disable snapshot and get_log_file api (#27724)

Disable 2 http api by default:

1. BE's `/api/snapshot`
2. FE's `/get_log_file`
This commit is contained in:
Mingyu Chen
2023-11-29 16:11:51 +08:00
committed by GitHub
parent c30299cbf7
commit 9daa7dc6b5
5 changed files with 16 additions and 0 deletions

View File

@ -2290,4 +2290,8 @@ public class Config extends ConfigBase {
@ConfField(description = {"nereids trace文件的存放路径。",
"The path of the nereids trace file."})
public static String nereids_trace_log_dir = System.getenv("DORIS_HOME") + "/log/nereids_trace";
@ConfField(description = {"是否开启通过http接口获取log文件的功能",
"Whether to enable the function of getting log files through http interface"})
public static boolean enable_get_log_file_api = false;
}