diff --git a/src/main/java/org/gcube/accounting/persistence/AccountingPersistenceFactory.java b/src/main/java/org/gcube/accounting/persistence/AccountingPersistenceFactory.java index e0e3d8a..50b46a8 100644 --- a/src/main/java/org/gcube/accounting/persistence/AccountingPersistenceFactory.java +++ b/src/main/java/org/gcube/accounting/persistence/AccountingPersistenceFactory.java @@ -97,6 +97,7 @@ public abstract class AccountingPersistenceFactory { * foundPersistence.accountWithFallback(TestUsageRecord.createTestServiceUsageRecord()); */ persistence = foundPersistence; + logger.debug("{} will be used.", foundPersistenceClassName); 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);