diff --git a/base/src/org/compiere/util/DB.java b/base/src/org/compiere/util/DB.java index 7a7da91a29..0fafe2170b 100644 --- a/base/src/org/compiere/util/DB.java +++ b/base/src/org/compiere/util/DB.java @@ -279,7 +279,10 @@ public final class DB } catch (Exception e) { - log.log(Level.SEVERE, "Could not connect to DB", e); + //logging here could cause infinite loop + //log.log(Level.SEVERE, "Could not connect to DB", e); + System.err.println("Could not connect to DB - " + e.getLocalizedMessage()); + e.printStackTrace(); success = false; } return success;