Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
Move logs to debug level (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
mihirgt authored Dec 22, 2023
1 parent 481e7a3 commit 235ff38
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public static org.hypertrace.gateway.service.v1.common.Value convertToGatewayVal
String attributeName, Value value, Map<String, AttributeMetadata> attributeMetadataMap) {
AttributeMetadata attributeMetadata = attributeMetadataMap.get(attributeName);
if (null == attributeMetadata) {
LOG.warn("No attribute metadata found for {}", attributeName);
LOG.debug("No attribute metadata found for {}", attributeName);
return convertQueryValueToGatewayValue(value);
}
return convertQueryValueToGatewayValue(value, attributeMetadata);
Expand Down Expand Up @@ -391,7 +391,7 @@ public static org.hypertrace.gateway.service.v1.common.Value convertQueryValueTo

if (attributeMetadata == null) {
// no attribute metadata, fail fast
LOG.warn("No attribute metadata specified for {}", value);
LOG.debug("No attribute metadata specified for {}", value);
return convertQueryValueToGatewayValue(value);
}

Expand Down Expand Up @@ -458,12 +458,12 @@ public static org.hypertrace.gateway.service.v1.common.Value convertQueryValueTo

if (null == converter) {
// If we reached here it implies no converter was found
LOG.warn("No attributeKind converter found for query valueType {}", value.getValueType());
LOG.debug("No attributeKind converter found for query valueType {}", value.getValueType());
return convertQueryValueToGatewayValue(value);
}

if (null == retValue) {
LOG.warn(
LOG.debug(
"No attributeKind mapping found for query valueType => attributeKind [{} => {}]",
value.getValueType(),
attributeMetadata.getValueKind());
Expand Down

0 comments on commit 235ff38

Please sign in to comment.