[FIXED JENKINS-22047] Add option to reduce noise in logs

Cherry-pick this from the JENKINS-20924 (!) branch to really include it into the next release as this was already promised for the [1.18 release](https://issues.jenkins-ci.org/browse/JENKINS-22047?focusedCommentId=196667&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-196667).