Skip to content

Commit

Permalink
feat: Reduce log level in add and set methods
Browse files Browse the repository at this point in the history
  • Loading branch information
fussel178 authored and cb0s committed Jan 29, 2022
1 parent a7c018d commit 6e48342
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ private HeaderInformation add(String key, Stream<String> stream) {

if (contains(key)) {
var existing = getAll(key);
logger.warn("The header information object already contains values assigned to that key. " +
logger.debug("The header information object already contains values assigned to that key. " +
"Appending new values to existing values. Key: {}, Before: {}, Now: {}",
key, existing, Stream.of(existing, list).toList());
}
Expand Down Expand Up @@ -706,7 +706,7 @@ private HeaderInformation set(String key, Stream<String> stream) {

if (contains(key)) {
var existing = getAll(key);
logger.warn("The header information object already contains values assigned to that key. " +
logger.debug("The header information object already contains values assigned to that key. " +
"Overriding existing values with new values. Key: {}, Before: {}, Now: {}", key, existing, list);
}

Expand Down

0 comments on commit 6e48342

Please sign in to comment.