Skip to content

Commit

Permalink
remove debug log condition for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Sadanand Shenoy committed Oct 7, 2024
1 parent 7987a86 commit 3464e06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ public static HddsProtos.UUID toProtobuf(UUID uuid) {
*/
public static void reportLeak(Class<?> clazz, String stackTrace, Logger log) {
String warning = String.format("%s is not closed properly", clazz.getSimpleName());
if (stackTrace != null && LOG.isDebugEnabled()) {
if (stackTrace != null) {
String debugMessage = String.format("%nStackTrace for unclosed instance: %s",
stackTrace);
warning = warning.concat(debugMessage);
Expand Down

0 comments on commit 3464e06

Please sign in to comment.