Skip to content
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

Set analytics filter logs to debug #35067

Merged
merged 1 commit into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ public static boolean onlyPublic(String groupId, MessageWriter log) {
boolean result = AUTHORIZED_GROUPS.stream()
.anyMatch(groupId::startsWith);
if (!result) {
log.info("[Quarkus build analytics] Extension with group ID: " + groupId +
" will not be included in the build analytics because it's not part of the Quarkus platform extensions.");
if (log.isDebugEnabled()) {
log.debug("[Quarkus build analytics] Extension with group ID: " + groupId +
" will not be included in the build analytics because it's not part of the Quarkus platform extensions.");
}
}
return result;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ public static boolean isAuthorizedGroupId(String groupId, MessageWriter log) {
boolean result = DENIED_GROUPS.stream()
.noneMatch(groupId::startsWith);
if (!result) {
log.info("[Quarkus build analytics] Artifact with group ID: " + groupId +
" will not send analytics because it's on the default deny list.");
if (log.isDebugEnabled()) {
log.debug("[Quarkus build analytics] Artifact with group ID: " + groupId +
" will not send analytics because it's on the default deny list.");
}
}
return result;
}
Expand Down