|
@@ -282,13 +282,14 @@ public class JmgaServiceImpl implements IJmgaService {
|
|
String tmpPath = logBasePath + "tmp" + File.separator;
|
|
String tmpPath = logBasePath + "tmp" + File.separator;
|
|
String logPath = tmpPath + num + "-" + Calendar.getInstance().getTimeInMillis() + File.separator;
|
|
String logPath = tmpPath + num + "-" + Calendar.getInstance().getTimeInMillis() + File.separator;
|
|
String zipPath = tmpPath + num + "-" + Calendar.getInstance().getTimeInMillis() + ".zip";
|
|
String zipPath = tmpPath + num + "-" + Calendar.getInstance().getTimeInMillis() + ".zip";
|
|
|
|
+ FileUtil.mkdir(logPath);
|
|
//打包服务端日志
|
|
//打包服务端日志
|
|
File[] ls = FileUtil.ls(logBasePath);
|
|
File[] ls = FileUtil.ls(logBasePath);
|
|
for (File l : ls) {
|
|
for (File l : ls) {
|
|
if(l.isFile() || !l.getName().startsWith("modeling-control")){
|
|
if(l.isFile() || !l.getName().startsWith("modeling-control")){
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
- this.copyLog(l.getAbsolutePath(), tmpPath, "info","sql","error");
|
|
|
|
|
|
+ this.copyLog(l.getAbsolutePath(), logPath, "info","sql","error");
|
|
}
|
|
}
|
|
//打包算法日志
|
|
//打包算法日志
|
|
ScenePlus scenePlus = scenePlusService.getScenePlusByNum(num);
|
|
ScenePlus scenePlus = scenePlusService.getScenePlusByNum(num);
|