diff --git a/modules/agent/src/main/java/org/dromara/jpom/controller/manage/ProjectFileControl.java b/modules/agent/src/main/java/org/dromara/jpom/controller/manage/ProjectFileControl.java index d109fedd5..df4d03086 100644 --- a/modules/agent/src/main/java/org/dromara/jpom/controller/manage/ProjectFileControl.java +++ b/modules/agent/src/main/java/org/dromara/jpom/controller/manage/ProjectFileControl.java @@ -267,6 +267,7 @@ public class ProjectFileControl extends BaseAgentController { if (StrUtil.isEmpty(after)) { return null; } + log.debug("开始准备项目重启:{} {}", pim.getId(), after); // AfterOpt afterOpt = BaseEnum.getEnum(AfterOpt.class, Convert.toInt(after, AfterOpt.No.getCode())); if ("restart".equalsIgnoreCase(after) || afterOpt == AfterOpt.Restart) { diff --git a/modules/agent/src/main/java/org/dromara/jpom/service/ProjectFileBackupService.java b/modules/agent/src/main/java/org/dromara/jpom/service/ProjectFileBackupService.java index 86e681239..eae475ac7 100644 --- a/modules/agent/src/main/java/org/dromara/jpom/service/ProjectFileBackupService.java +++ b/modules/agent/src/main/java/org/dromara/jpom/service/ProjectFileBackupService.java @@ -113,6 +113,7 @@ public class ProjectFileBackupService { return null; } String backupId = DateTime.now().toString(DatePattern.PURE_DATETIME_MS_FORMAT); + log.debug("开始准备备份项目文件:{} {}", projectInfoModel.getId(), backupId); File projectFileBackup = this.pathProjectBackup(infoModel, backupId); Assert.state(!FileUtil.exist(projectFileBackup), "备份目录冲突:" + projectFileBackup.getName()); FileUtil.copyContent(file, projectFileBackup, true); @@ -180,6 +181,7 @@ public class ProjectFileBackupService { // 备份ID 不存在 return; } + log.debug("开始检查备份项目文件:{} {}", projectInfoModel.getId(), backupId); NodeProjectInfoModel infoModel = projectInfoService.resolveModel(projectInfoModel); File projectPath = projectInfoService.resolveLibFile(infoModel); DslYmlDto dslYmlDto = infoModel.dslConfig(); diff --git a/web-vue/src/pages/system/assets/docker/list.vue b/web-vue/src/pages/system/assets/docker/list.vue index dc6bcd6d5..373f57e5c 100644 --- a/web-vue/src/pages/system/assets/docker/list.vue +++ b/web-vue/src/pages/system/assets/docker/list.vue @@ -467,34 +467,44 @@ :footer="null" :mask-closable="false" > - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - + + + + + + - - - + + + + + +