Skip to content

Commit

Permalink
tidy: remove debug to stdout to logging framework
Browse files Browse the repository at this point in the history
  • Loading branch information
kcpeppe committed Jan 25, 2024
1 parent cfccf95 commit 3725095
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/src/main/java/com/microsoft/gctoolkit/GCToolKit.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ public void loadAggregationsFromServiceLoader() {
LOG_DEBUG_MESSAGE(() -> "ServiceLoader provided: " + aggregation.getClass().getName());
});
} catch (Throwable e) {
System.out.println(e.getMessage());
e.printStackTrace();
LOGGER.log(Level.SEVERE, e.getMessage(), e);
throw e;
}
}
Expand Down

0 comments on commit 3725095

Please sign in to comment.