-
Notifications
You must be signed in to change notification settings - Fork 7
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
chore: change info to debug logging #410
Conversation
var httpMethod = HttpMethod.POST.name(); | ||
var type = request.headers().contentType().map(MediaType::toString).orElse("(unknown)"); | ||
long contentLength = request.headers().contentLength().orElse(0L); | ||
log.atDebug().log("%s /%s type: %s length: %s".formatted(httpMethod, endpoint, type, contentLength)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason why you would not use the built in formatting from the debugger in stead of the String.formatted()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, good remark. I started refactoring from from a String.formatted and didn't question it. I will change it.
...ctors/ldio-kafka/src/main/java/be/vlaanderen/informatievlaanderen/ldes/ldio/LdioKafkaIn.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix code smell please
Kudos, SonarCloud Quality Gate passed! |
No description provided.