diff --git a/bindings/java/src/org/sleuthkit/datamodel/SleuthkitCase.java b/bindings/java/src/org/sleuthkit/datamodel/SleuthkitCase.java index 98f436f18e8402a30f9162104a5a5bfa168d75e6..44e3d60f8e701cfd74def6e4e452eb4e0b42a08e 100644 --- a/bindings/java/src/org/sleuthkit/datamodel/SleuthkitCase.java +++ b/bindings/java/src/org/sleuthkit/datamodel/SleuthkitCase.java @@ -57,6 +57,7 @@ import java.util.List; import java.util.Map; import java.util.MissingResourceException; +import java.util.Properties; import java.util.ResourceBundle; import java.util.Set; import java.util.UUID; @@ -230,6 +231,13 @@ void fireTSKEvent(Object event) { private final Map<Long, Content> frequentlyUsedContentMap = new HashMap<>(); private Examiner cachedCurrentExaminer = null; + + static { + Properties p = new Properties(System.getProperties()); + p.put("com.mchange.v2.log.MLog", "com.mchange.v2.log.FallbackMLog"); + p.put("com.mchange.v2.log.FallbackMLog.DEFAULT_CUTOFF_LEVEL", "SEVERE"); + System.setProperties(p); + } /** * Attempts to connect to the database with the passed in settings, throws