The new scanner parameter sonar.branch.name deprecates sonar.branch.
Scanner should fail if both properties have values.
sonar.branch.name should also be passed as a characteristic to the report submission webservice.
The log output should show a WARN message when the deprecated property is used, for example:
WARN The use of "sonar.branch" is deprecated and replaced by "sonar.branch.name". See https://redirect.sonarsource.com/doc/branches.html.
The value of the new property should be logged like in user-friendly terms, not the technical "long" and "short", something like this:
INFO Branch name: branch-2.x, type: long-living
INFO Branch name: feature, type: short-living