How can I prevent a Newman test from logging response in output?

We have a Postman collection of tests run by Newman during our Azure DevOps deployments. Newman logs the entire JSON response, which gets captured in the Azure DevOps logs. Some of the responses have sensitive values in them. How can we prevent one or more tests in a collection from logging the entire JSON response?

Thanks.

Hey @junrau !

Does running with the --silent option help out here?

But that applies to all tests in the collection. I am hoping for something that is test-by-test, preferably that could be set in the test itself or the pre-request script.