With Ant 1.10.x version requiring Java 8, I think it should now be
possible for us to add a new (default) method to the
org.apache.tools.ant.BuildLogger interface to return the current set (or
some default) log level. I will add something along these lines shortly.
-Jaikiran
On 11/10/22 10:26
Hello Earl,
So far I've used this workaround to retrieve the log level:
https://github.com/Riverside-Software/pct/blob/d8446a002aaf2efb255d2016a16e9a71f7ad269f/src/java/com/phenix/pct/PCT.java#L593
Usage in the Ant task:
https://github.com/Riverside-Software/pct/blob/master/src/java/com/phenix/pc