Pull request #658: RED-6224: Fixed log output in tenant datasource cache
Merge in RED/persistence-service from RED-6224 to master * commit 'ed33991438fa7d1871c167e6682f76416b2cc85e': RED-6224: Fixed log output in tenant datasource cache
This commit is contained in:
commit
b41aa58e54
@ -68,7 +68,7 @@ public class DynamicDataSourceBasedMultiTenantConnectionProvider extends Abstrac
|
|||||||
ds.close(); // tear down properly
|
ds.close(); // tear down properly
|
||||||
log.info("Closed datasource: {}", ds.getPoolName());
|
log.info("Closed datasource: {}", ds.getPoolName());
|
||||||
} else {
|
} else {
|
||||||
log.info("Keeping datasource open from {} because it is still used by {} other tenants", removal.getKey(), numberOfSchemasForSameDataSource - 1);
|
log.info("Keeping datasource open from {} because it is still used by {} other tenants", removal.getKey(), numberOfSchemasForSameDataSource);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.build(new CacheLoader<>() {
|
.build(new CacheLoader<>() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user