MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / get_spring_log_data

Method get_spring_log_data

mod/project/java/projectMod.py:3835–3844  ·  view source on GitHub ↗
(get)

Source from the content-addressed store, hash-verified

3833
3834 @staticmethod
3835 def get_spring_log_data(get):
3836 try:
3837 log_file = get.log_file.strip()
3838 except:
3839 return json_response(status = False, msg = "参数错误")
3840
3841 if not os.path.isfile(log_file):
3842 return json_response(status = False, msg = "日志文件不存在")
3843
3844 return json_response(status = True, data = public.GetNumLines(log_file, 1000))
3845
3846 @staticmethod
3847 def install_jdk_new(get):

Callers

nothing calls this directly

Calls 2

json_responseFunction · 0.90
GetNumLinesMethod · 0.80

Tested by

no test coverage detected