diff --git a/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingCatalogueApplicationProfilesCache.java b/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingCatalogueApplicationProfilesCache.java index 582f919..297baac 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingCatalogueApplicationProfilesCache.java +++ b/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingCatalogueApplicationProfilesCache.java @@ -51,7 +51,7 @@ public class LoadingCatalogueApplicationProfilesCache { @Override public void onRemoval(RemovalNotification arg0) { - logger.info(LoadingCatalogueApplicationProfilesCache.class.getSimpleName() +" cache expired"); + logger.info("cache expired"); } }; diff --git a/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingGeoExplorerApplicationURLCache.java b/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingGeoExplorerApplicationURLCache.java index ac79256..3f3d271 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingGeoExplorerApplicationURLCache.java +++ b/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingGeoExplorerApplicationURLCache.java @@ -45,7 +45,7 @@ public class LoadingGeoExplorerApplicationURLCache { RemovalListener removalListener = new RemovalListener() { public void onRemoval(RemovalNotification removal) { - logger.info(LoadingGeoExplorerApplicationURLCache.class.getSimpleName() +" cache expired"); + logger.info("cache expired"); } }; @@ -54,7 +54,7 @@ public class LoadingGeoExplorerApplicationURLCache { 1, TimeUnit.DAYS).removalListener(removalListener). build(loader); - logger.info(LoadingGeoExplorerApplicationURLCache.class.getSimpleName() +" instancied"); + logger.info("cache instancied"); } /** diff --git a/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingGeonetworkInstanceCache.java b/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingGeonetworkInstanceCache.java index a1a9194..b5facf0 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingGeonetworkInstanceCache.java +++ b/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingGeonetworkInstanceCache.java @@ -46,7 +46,7 @@ public class LoadingGeonetworkInstanceCache { RemovalListener removalListener = new RemovalListener() { public void onRemoval(RemovalNotification removal) { - logger.info(LoadingGeonetworkInstanceCache.class.getSimpleName() +" cache expired"); + logger.info("cache expired"); } }; @@ -55,7 +55,7 @@ public class LoadingGeonetworkInstanceCache { 1, TimeUnit.DAYS).removalListener(removalListener). build(loader); - logger.info(LoadingGeonetworkInstanceCache.class.getSimpleName() +" instancied"); + logger.info("cache instancied"); } diff --git a/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingGisViewerApplicationURLCache.java b/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingGisViewerApplicationURLCache.java index 5d27215..c1472cb 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingGisViewerApplicationURLCache.java +++ b/src/main/java/org/gcube/datatransfer/resolver/caches/LoadingGisViewerApplicationURLCache.java @@ -45,7 +45,7 @@ public class LoadingGisViewerApplicationURLCache { RemovalListener removalListener = new RemovalListener() { public void onRemoval(RemovalNotification removal) { - logger.info(LoadingGisViewerApplicationURLCache.class.getSimpleName() +" cache expired"); + logger.info("cache expired"); } }; @@ -54,7 +54,7 @@ public class LoadingGisViewerApplicationURLCache { 1, TimeUnit.DAYS).removalListener(removalListener). build(loader); - logger.info(LoadingGisViewerApplicationURLCache.class.getSimpleName() +" instancied"); + logger.info("cache instancied"); } diff --git a/src/main/java/org/gcube/datatransfer/resolver/listeners/UriResolverStartupListener.java b/src/main/java/org/gcube/datatransfer/resolver/listeners/UriResolverStartupListener.java index 47dddc8..0fa9bd9 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/listeners/UriResolverStartupListener.java +++ b/src/main/java/org/gcube/datatransfer/resolver/listeners/UriResolverStartupListener.java @@ -67,7 +67,7 @@ public class UriResolverStartupListener implements ServletContextListener { contextScope = loadScopeFromEnvironment(); ApplicationContext ctx = ContextProvider.get(); String rootScope = ctx.container().configuration().infrastructure(); - logger.info("The ContextProvider returns the root scope: "+rootScope); + logger.info("The ContextProvider returned the infrastructure name: "+rootScope); } catch (Exception e) { // @@ -140,8 +140,6 @@ public class UriResolverStartupListener implements ServletContextListener { } - - /** * Gets the gis viewer profile. * @@ -164,7 +162,6 @@ public class UriResolverStartupListener implements ServletContextListener { } - /** * Gets the context scope. *