Logging: remove lifecycle message and keeping test logs

I would like to remove messages like (or even better filter them with my own criteria):

Task myTask UP-TO-DATE

So I run with --warn flag. The probem is that now I can’t see my test output. My test configuration is:

    testLogging {
        showStandardStreams true
        exceptionFormat "full"
    }

I know I can workaround it with something like:

    onOutput { descriptor, event ->
        logger.warn(event.message )
    }

Is there any better way to achive this?