changed one level log to debug

This commit is contained in:
Francesco Mangiacrapa 2020-06-11 12:37:54 +02:00
parent 9965d8a040
commit 798ab931c1
8 changed files with 7 additions and 11 deletions

View File

@ -53,7 +53,7 @@ public class LoadingGNPublicLayerIDsInstanceCache {
RemovalListener<String, List<String>> removalListener = new RemovalListener<String, List<String>>() { RemovalListener<String, List<String>> removalListener = new RemovalListener<String, List<String>>() {
public void onRemoval(RemovalNotification<String, List<String>> removal) { public void onRemoval(RemovalNotification<String, List<String>> removal) {
logger.info("cache expired"); logger.debug("cache expired");
} }
}; };

View File

@ -46,7 +46,7 @@ public class LoadingGeoExplorerApplicationURLCache {
RemovalListener<String, String> removalListener = new RemovalListener<String, String>() { RemovalListener<String, String> removalListener = new RemovalListener<String, String>() {
public void onRemoval(RemovalNotification<String, String> removal) { public void onRemoval(RemovalNotification<String, String> removal) {
logger.info("cache expired"); logger.debug("cache expired");
} }
}; };

View File

@ -48,7 +48,7 @@ public class LoadingGeonetworkInstanceCache {
RemovalListener<String, GeonetworkInstance> removalListener = new RemovalListener<String, GeonetworkInstance>() { RemovalListener<String, GeonetworkInstance> removalListener = new RemovalListener<String, GeonetworkInstance>() {
public void onRemoval(RemovalNotification<String, GeonetworkInstance> removal) { public void onRemoval(RemovalNotification<String, GeonetworkInstance> removal) {
logger.info("cache expired"); logger.debug("cache expired");
} }
}; };

View File

@ -46,7 +46,7 @@ public class LoadingGisViewerApplicationURLCache {
RemovalListener<String, String> removalListener = new RemovalListener<String, String>() { RemovalListener<String, String> removalListener = new RemovalListener<String, String>() {
public void onRemoval(RemovalNotification<String, String> removal) { public void onRemoval(RemovalNotification<String, String> removal) {
logger.info("cache expired"); logger.debug("cache expired");
} }
}; };

View File

@ -4,7 +4,6 @@
package org.gcube.datatransfer.resolver.caches; package org.gcube.datatransfer.resolver.caches;
import java.util.Map; import java.util.Map;
import java.util.Set;
import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
@ -16,8 +15,6 @@ import org.gcube.infrastructure.detachedres.detachedreslibrary.shared.re.Detache
import org.gcube.infrastructure.detachedres.detachedreslibrary.shared.re.Gateway; import org.gcube.infrastructure.detachedres.detachedreslibrary.shared.re.Gateway;
import org.gcube.infrastructure.detachedres.detachedreslibrary.shared.re.VO; import org.gcube.infrastructure.detachedres.detachedreslibrary.shared.re.VO;
import org.gcube.infrastructure.detachedres.detachedreslibrary.shared.re.VRE; import org.gcube.infrastructure.detachedres.detachedreslibrary.shared.re.VRE;
import org.gcube.smartgears.ContextProvider;
import org.gcube.smartgears.context.application.ApplicationContext;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -65,7 +62,7 @@ public class LoadingMapOfDetachedVRE {
@Override @Override
public void onRemoval(RemovalNotification<String, VRE> arg0) { public void onRemoval(RemovalNotification<String, VRE> arg0) {
LOG.info("cache expired"); LOG.debug("cache expired");
} }
}; };

View File

@ -54,7 +54,7 @@ public class LoadingMapOfScopeCache {
@Override @Override
public void onRemoval(RemovalNotification<String, ScopeBean> arg0) { public void onRemoval(RemovalNotification<String, ScopeBean> arg0) {
logger.info("cache expired"); logger.debug("cache expired");
//prePopulateCache(); //prePopulateCache();
} }

View File

@ -13,7 +13,6 @@ import java.util.Set;
import javax.servlet.ServletContext; import javax.servlet.ServletContext;
import javax.servlet.ServletException; import javax.servlet.ServletException;
import org.gcube.common.authorization.library.provider.SecurityTokenProvider;
import org.gcube.common.scope.api.ScopeProvider; import org.gcube.common.scope.api.ScopeProvider;
import org.gcube.common.scope.impl.ScopeBean; import org.gcube.common.scope.impl.ScopeBean;
import org.gcube.common.scope.impl.ScopeBean.Type; import org.gcube.common.scope.impl.ScopeBean.Type;

View File

@ -196,7 +196,7 @@ public class CatalogueResolver {
try{ try{
scopeBean = LoadingMapOfScopeCache.get(scopeName); scopeBean = LoadingMapOfScopeCache.get(scopeName);
}catch(ExecutionException | InvalidCacheLoadException e){ }catch(ExecutionException | InvalidCacheLoadException e){
logger.error("Error on getting the fullscope from cache for scopeName {}. Tryng to load it from ",scopeName); logger.error("Error on getting the fullscope from cache for scopeName {}. Tryng to load it from DetachedRE",scopeName);
boolean isScopeDetached = false; boolean isScopeDetached = false;
try { try {