Although I changed the logging level, I cannot see the output of ant stuff I call in my tasks. I would expect some sort of [ant:sshexec] bla bla, but nothing gets shown:
gradlew -q myTask
task myTask << {
logger.quiet " My task"
logging.level = "INFO"
ant.taskdef(name: 'sshexec', classname: 'org.apache.tools.ant.taskdefs.optional.ssh.SSHExec', classpath: project.configurations.sshexecAntTask.asPath)
ant.sshexec(host: 'host', username: 'username', password: 'password', command: 'ls -las ~/', trust: 'true', failonerror: 'true')
}