Skip to content

Commit

Permalink
Reduce noisy user agent logging to debug (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoenig10 committed Nov 28, 2022
1 parent c72e833 commit d353ec5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,10 @@ static boolean isValidVersion(String version) {
return true;
}

log.warn("Encountered invalid user agent version '{}'", SafeArg.of("version", version));
if (log.isDebugEnabled()) {
log.debug("Encountered invalid user agent version '{}'", SafeArg.of("version", version));
}

return false;
}

Expand Down

0 comments on commit d353ec5

Please sign in to comment.