changed one level log to debug

task/18967
Francesco Mangiacrapa 4 years ago
parent 9965d8a040
commit 798ab931c1

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

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

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

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

@ -4,7 +4,6 @@
package org.gcube.datatransfer.resolver.caches;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ExecutionException;
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.VO;
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.LoggerFactory;
@ -65,7 +62,7 @@ public class LoadingMapOfDetachedVRE {
@Override
public void onRemoval(RemovalNotification<String, VRE> arg0) {
LOG.info("cache expired");
LOG.debug("cache expired");
}
};

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

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

@ -196,7 +196,7 @@ public class CatalogueResolver {
try{
scopeBean = LoadingMapOfScopeCache.get(scopeName);
}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;
try {

Loading…
Cancel
Save