Echo tasks have a logging level associated with them, and I've been able to use this to turn off certain debug messages by default, like echoing the CLASSPATH
before every build.
That's great, except now I don't know how to get the debug messages to show up at all, via a command-line argument. Everything I've read refers to this, so it must be possible to set the log level, but I've no idea how to set it. Thanks!
I'm sure this is a simple thing I must have missed in the documentation, but a quite a few likely search queries returned no relevant results. A method to do this via Eclipse or IntelliJ would probably also be relevant.
Ant has several command line options for controlling its own verbosity (-quiet
, -verbose
), but these do not appear to correspond to log levels for <echo>
tasks, and certainly cannot map to all possible log levels.
I see also that you can set the log level from within the build file, but that's not what I need.