8000 feat: set logging level to trace by diegomarquezp · Pull Request #1104 · googleapis/sdk-platform-java · GitHub
[go: up one dir, main page]

Skip to content

feat: set logging level to trace #1104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 1, 2022
Merged

Conversation

diegomarquezp
Copy link
Contributor
@diegomarquezp diegomarquezp commented Nov 29, 2022

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

@diegomarquezp diegomarquezp requested review from a team as code owners 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
"CollectInitialRpcTimeout set to " + this.clientProperties.getCollectInitialRpcTimeout());
}
if (this.clientProperties.getCollectRpcTimeoutMultiplier() != null) {
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
0