|
|
@@ -116,7 +116,6 @@ public class TaskServiceImpl implements TaskService {
|
|
|
fileWriter = new FileWriter(logFilePath, true);
|
|
|
fileWriter.write(log.toJSONString() + "\n");
|
|
|
fileWriter.flush();
|
|
|
- logger.info("Saved task log:" + log.toJSONString() + " to " + logFilePath + "\n");
|
|
|
} catch (IOException e) {
|
|
|
logger.error("", e);
|
|
|
} finally {
|
|
|
@@ -172,7 +171,6 @@ public class TaskServiceImpl implements TaskService {
|
|
|
@Override
|
|
|
public void run() {
|
|
|
try {
|
|
|
- logger.info("Task run...");
|
|
|
Executable command = taskInformation.getCommand();
|
|
|
String result = command.execute();
|
|
|
saveLog(new TaskLog(taskInformation, new Date(), result));
|