Remove Gradle DEBUG logs in Teamcity

Hi,

I am moving my gradle project to teamcity. The log size I see is runnning into many MBs. I see the logs are full of DEBUG statements such as below. I have not clicked the debug option in the Gradle runner in Teamcity. Please help me in removing these debug statments, my build.gradle is as below.

I am using Gradle 2.3 with Teamcity 9.0.1

I have given task: clean test --tests *TestClassName in Gradle runner task without --info or --debug. Already unchecked the debug checkbox in Teamcity. I don’t understand why I am still getting the debug statements printed in build.log.

----build.gradle-----
apply plugin: ‘java’
apply plugin: ‘eclipse’

group = ‘Tests’
version = ‘SNAPSHOT’

description = “”“TestNGTests”“”

sourceCompatibility = 1.7
targetCompatibility = 1.7

repositories {

 maven { url "http://repo.maven.apache.org/maven2" }  

}

dependencies {
compile group: ‘junit’, name: ‘junit-dep’, version:‘4.8.2’
compile group: ‘org.testng’, name: ‘testng’, version:‘6.7’

}

test{
test.outputs.upToDateWhen {false}
useTestNG{
useDefaultListeners = true
}
testLogging.showStandardStreams = true
}

sourceSets {
test {
java {
srcDir ‘src/main/java’
}
resources {
srcDir ‘src/main/resources’
}
}
}


[Gradle test] [Test Output]
11:22:41.504 [Forwarding switchToFrame on session 4ebd059c-4ad9-4afd-aa4b-80d1cc34714b to remote] DEBUG org.apache.http.headers - << Accept-Ranges: bytes

[11:22:42][:test] 11:22:41.504 [Forwarding switchToFrame on session 4ebd059c-4ad9-4afd-aa4b-80d1cc34714b to remote] DEBUG org.apache.http.headers - << Accept-Ranges: bytes

[11:22:42][Gradle test] [Test Output]
11:22:41.504 [Forwarding switchToFrame on session 4ebd059c-4ad9-4afd-aa4b-80d1cc34714b to remote] DEBUG org.apache.http.headers - << Connection: close

[11:22:42][:test] 11:22:41.504 [Forwarding switchToFrame on session 4ebd059c-4ad9-4afd-aa4b-80d1cc34714b to remote] DEBUG org.apache.http.headers - << Connection: close

Debug messages were coming from within the application. I just joined a new project so I could not see this. Sorry.