This is an automated email from the ASF dual-hosted git repository.
jaikiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git
The following commit(s) were added to refs/heads/master by this push:
new f229cdd23 bz-26453 use INFO log level to print the result log message
from exec task, when the process returns non-zero exit code
f229cdd23 is described below
commit f229cdd233da9d7e9f7d1f93da98f506afc7313e
Author: Jaikiran Pai <[email protected]>
AuthorDate: Wed Jan 3 06:10:50 2024 +0530
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 eebf6ae12..5657134b9 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 @@ public class ExecTask extends Task {
throw new BuildException(getTaskType() + " returned: "
+ returnCode, getLocation());
}
- log("Result: " + returnCode, Project.MSG_ERR);
+ log("Result: " + returnCode, Project.MSG_INFO);
}
} else {
exe.spawn();