diff --git a/src/main/java/com/objecteye/service/impl/OccupationOfBasicResourcesServiceImpl.java b/src/main/java/com/objecteye/service/impl/OccupationOfBasicResourcesServiceImpl.java index 1a45d1b..06b001e 100644 --- a/src/main/java/com/objecteye/service/impl/OccupationOfBasicResourcesServiceImpl.java +++ b/src/main/java/com/objecteye/service/impl/OccupationOfBasicResourcesServiceImpl.java @@ -69,7 +69,7 @@ public class OccupationOfBasicResourcesServiceImpl implements IOccupationOfBasic String owner = (String) requestMap.getOrDefault("user", "-1"); if (logPath == null || "".equals(logPath)) { logPath = jarPath.substring(0, jarPath.lastIndexOf("/")) + jarPath.substring(jarPath.lastIndexOf("/")).replaceAll("jar", "log"); - log.info("OccupationOfBasicResourcesServiceImpl|deployJarFile|logPath: {}", logPath); + log.debug("OccupationOfBasicResourcesServiceImpl|deployJarFile|logPath: {}", logPath); } JSONObject resultObj = new JSONObject(); @@ -187,11 +187,11 @@ public class OccupationOfBasicResourcesServiceImpl implements IOccupationOfBasic String[] cmdList = {"/bin/sh", "-c", cmd}; process = run.exec(cmdList); } - log.info("OccupationOfBasicResourcesServiceImpl|executeLinuxCmd|cmd: {}", cmd); + log.debug("OccupationOfBasicResourcesServiceImpl|executeLinuxCmd|cmd: {}", cmd); String line; BufferedReader stdoutReader = new BufferedReader(new InputStreamReader(process.getInputStream())); while ((line = stdoutReader.readLine()) != null) { - log.info("OccupationOfBasicResourcesServiceImpl|executeLinuxCmd|line: {}", line); + log.debug("OccupationOfBasicResourcesServiceImpl|executeLinuxCmd|line: {}", line); if (line.contains("command not found") && line.contains("-bash")) { log.error(line); return;