Fixed context creation

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/resource-registry-database-creator@171338 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2018-09-06 12:51:00 +00:00
parent 837e7d9abd
commit 204ac1f3f9
2 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,7 @@ public class ContextCreator extends ContextElaborator {
uuid = getContextUUID(scopeBean);
}catch (ContextNotFoundException e) {
// The context has to be created
logger.info("{} not found", scopeBean.toString());
}
if(uuid==null) {
logger.info("Parent Context of {} is {}", scopeBean, scopeBean.enclosingScope());

View File

@ -10,6 +10,7 @@
<logger name="org.gcube" level="ERROR" />
<logger name="org.gcube.informationsystem.resourceregistry" level="INFO" />
<logger name="org.gcube.informationsystem.resourceregistry.context" level="TRACE" />
<root level="WARN">