How to output stderr in the cmd console stream?

My tests run like this
gradlew testAll -Ptarget=local clean test 1>out.log 2>err.log

but output in the err.log doesn’t meet my requirements. I want to see all failed tests like in html report. How i can resolve it without gradle tooling api?

2 tests completed, 2 failed

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:testAll’.

There were failing tests. See the report at: file:///xxxx/xxxx/xxx

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  • Get more help at https://help.gradle.org
    BUILD FAILED in 51s

I’ve found solution here std error