Suppress Test task STANDARD_OUT preface messages


(Mark Petrovic) #1

When the Test task is configured like this

test {

testLogging.showStandardStreams = true }

Gradle will output a preface such as this before outputting stdout:

org.petrovic.ss.AppTest > testCore STANDARD_OUT

hello

Is it possible to suppress this prefatory message, yet retain the actual stdout message?

Thanks.


(Peter Niederwieser) #2

No, it isn’t possible. From what I remember, messages are batched though, and the same preface isn’t repeated.