Skip to content

Conversation

@diegomarquezp
Copy link
Contributor

@diegomarquezp diegomarquezp commented Nov 29, 2022

As suggested after discussing GoogleCloudPlatform/spring-cloud-gcp#1364

@diegomarquezp diegomarquezp requested a review from a team November 29, 2022 21:07
@diegomarquezp diegomarquezp requested a review from a team as a code owner November 29, 2022 21:07
@diegomarquezp diegomarquezp changed the title feat: degrade logging level to trace feat: set logging level to trace Nov 29, 2022
collectRetrySettingBuilder.setRpcTimeoutMultiplier(
this.clientProperties.getCollectRpcTimeoutMultiplier());
LOGGER.info(
LOGGER.trace(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think adding isTraceEnabled() would be useful here, since we're not only doing string concatenation, but also calling a method.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@diegomarquezp diegomarquezp merged commit dbb105e into autoconfig-gen-draft2 Dec 1, 2022
@diegomarquezp diegomarquezp deleted the logging-trace branch December 1, 2022 15:42
@zhumin8 zhumin8 added the spring pr that's related to spring code gen, intend to merge into autoconfig-gen-draft2 branch. label Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

spring pr that's related to spring code gen, intend to merge into autoconfig-gen-draft2 branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants