From 534b1aa042d16d7520e52343c99deb6a0346c63d Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Tue, 29 Sep 2015 16:22:58 +0000 Subject: [PATCH] Changed log from debug to error with exception info git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119209 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../accounting/persistence/AccountingPersistenceFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/accounting/persistence/AccountingPersistenceFactory.java b/src/main/java/org/gcube/accounting/persistence/AccountingPersistenceFactory.java index df57c40..e0e3d8a 100644 --- a/src/main/java/org/gcube/accounting/persistence/AccountingPersistenceFactory.java +++ b/src/main/java/org/gcube/accounting/persistence/AccountingPersistenceFactory.java @@ -99,7 +99,7 @@ public abstract class AccountingPersistenceFactory { persistence = foundPersistence; break; } catch (Exception e) { - logger.error(String.format("%s not initialized correctly. It will not be used. Trying the next one if any.", foundPersistence.getClass().getSimpleName()), e.getCause()); + logger.error(String.format("%s not initialized correctly. It will not be used. Trying the next one if any.", foundPersistence.getClass().getSimpleName()), e); } } if(persistence==null){