diff --git a/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/log/LoggerRequestProcessor.java b/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/log/LoggerRequestProcessor.java index a73e47397b..e7f808719e 100644 --- a/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/log/LoggerRequestProcessor.java +++ b/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/log/LoggerRequestProcessor.java @@ -96,7 +96,7 @@ public class LoggerRequestProcessor implements NettyRequestProcessor { Boolean status = true; try { if (taskLogFile.exists()){ - taskLogFile.delete(); + status = taskLogFile.delete(); } }catch (Exception e){ status = false;