Changed log from debug to error with exception info

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119205 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2015-09-29 16:14:05 +00:00
parent 7882d02696
commit f66e3bbfcb
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ public abstract class AccountingPersistenceFactory {
persistence = foundPersistence; persistence = foundPersistence;
break; break;
} catch (Exception e) { } catch (Exception e) {
logger.debug(String.format("%s not initialized correctly. It will not be used", foundPersistence.getClass().getSimpleName())); logger.error(String.format("%s not initialized correctly. It will not be used. Trying the next one if any.", foundPersistence.getClass().getSimpleName()), e.getCause());
} }
} }
if(persistence==null){ if(persistence==null){