Skip to content

Commit

Permalink
reduce logs
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Dec 13, 2022
1 parent 167b8ac commit a85fe17
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ protected javax.measure.Unit tryParsing(Unit parsedUnit) throws NormalizationExc
unit = formatService.parse(parsedUnit.getRawName());
break;
} catch (Throwable e) {
LOGGER.warn("Cannot parse " + parsedUnit + " with " + formatService.getClass().getName(), e);
LOGGER.debug("Cannot parse " + parsedUnit + " with " + formatService.getClass().getName(), e);
}
}

Expand All @@ -174,9 +174,9 @@ protected javax.measure.Unit tryParsing(Unit parsedUnit) throws NormalizationExc
break;
}

LOGGER.warn("Cannot parse " + block.toString() + " with " + formatService.getClass().getName(), e);
LOGGER.debug("Cannot parse " + block.toString() + " with " + formatService.getClass().getName(), e);
} catch (Throwable t) {
LOGGER.warn("Cannot parse " + block.toString() + " with " + formatService.getClass().getName(), t);
LOGGER.debug("Cannot parse " + block.toString() + " with " + formatService.getClass().getName(), t);
}
}
}
Expand Down

0 comments on commit a85fe17

Please sign in to comment.