From f229cdd233da9d7e9f7d1f93da98f506afc7313e Mon Sep 17 00:00:00 2001 From: Jaikiran Pai Date: Wed, 3 Jan 2024 06:10:50 +0530 Subject: [PATCH] bz-26453 use INFO log level to print the result log message from exec task, when the process returns non-zero exit code --- src/main/org/apache/tools/ant/taskdefs/ExecTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/ExecTask.java b/src/main/org/apache/tools/ant/taskdefs/ExecTask.java index eebf6ae126..5657134b9d 100644 --- a/src/main/org/apache/tools/ant/taskdefs/ExecTask.java +++ b/src/main/org/apache/tools/ant/taskdefs/ExecTask.java @@ -674,7 +674,7 @@ protected final void runExecute(Execute exe) throws IOException { throw new BuildException(getTaskType() + " returned: " + returnCode, getLocation()); } - log("Result: " + returnCode, Project.MSG_ERR); + log("Result: " + returnCode, Project.MSG_INFO); } } else { exe.spawn();