Set log.level of Test worker to Error (for integrationTests)

Hi,

my problem is, that the files in the test-results folder simply get too big (> 40mb per testFile), because the test classes log many info-messages to stdout.

So I´d like to set the file-log-level of the Test worker to Error.

I´ve searched for hours now but didn´t find a solution.

My gradle file looks like this:

// Define integration test task
task integrationTest(type: Test) {
// maximum number of test classes to execute in a test process
forkEvery 1

testLogging {
    // set options for log level LIFECYCLE (normal gradle build)
    events = ["started", "failed", "skipped"]
    exceptionFormat = "full"
    // set options for log level INFO
    info.events = ["started", "failed", "skipped", "standard_error", "passed"]
}
testClassesDir = sourceSets.integrationTest.output.classesDir
classpath = sourceSets.integrationTest.runtimeClasspath

}

and the part I want to avoid in my *.xml file in the build/test-results folder looks like:

711 [Test worker] INFO org.hibernate.cfg.Environment - Hibernate 3.0.5
712 [Test worker] INFO org.hibernate.cfg.Environment - hibernate.properties not found
713 [Test worker] INFO org.hibernate.cfg.Environment - using CGLIB reflection optimizer
714 [Test worker] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
[…] another 10000 lines from Test worker […]
918 [Test worker] INFO org.hibernate.cfg.HbmBinder - Mapping class: de.bea.plato.domain.Waehrung → Waehrung
922 [Test worker] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: oid → OID
938 [Test worker] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: bezeichnung → bezeichnung
938 [Test worker] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: symbol → symbol

Any ideas?