Skip to content

Commit

Permalink
LoggerFactory slf4j related regression fix
Browse files Browse the repository at this point in the history
Fix the regression that caused DRF loading fail due to spurious dependency on slf4j when log4j2 exists.
Check for water logging availability was throwing exception if slf4j was not used while loading some models. this seems like a regression between 3.30 and 3.40.
#6725
  • Loading branch information
yazun authored Jul 27, 2023
1 parent 459d32f commit 6d10f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h2o-logger/src/main/java/water/logging/LoggerFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private boolean isWaterLogAvailable() {
try {
Class.forName(waterLogClassName);
return true;
} catch (ClassNotFoundException e) {
} catch (ClassNotFoundException | NoClassDefFoundError e) {
return false;
}
}
Expand Down

0 comments on commit 6d10f5b

Please sign in to comment.