better logs management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineWPSExtension@100358 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
4e21b486b5
commit
3faa817ea5
|
@ -71,13 +71,13 @@ public class DynamicWPSTransducerer implements DynamicTransducer {
|
||||||
List<String> wps = new ArrayList<String>();
|
List<String> wps = new ArrayList<String>();
|
||||||
AnalysisLogger.setLogger(config.getConfigPath() + AlgorithmConfiguration.defaultLoggerFile);
|
AnalysisLogger.setLogger(config.getConfigPath() + AlgorithmConfiguration.defaultLoggerFile);
|
||||||
// wps.add("http://wps01.i-marine.d4science.org/wps/WebProcessingService");
|
// wps.add("http://wps01.i-marine.d4science.org/wps/WebProcessingService");
|
||||||
AnalysisLogger.getLogger().debug("WPS: searching for wps servers in the scope: " + config.getGcubeScope());
|
// AnalysisLogger.getLogger().debug("WPS: searching for wps servers in the scope: " + config.getGcubeScope());
|
||||||
wps = org.gcube.dataanalysis.executor.util.IfraRetrieval.retrieveAddresses("WPS", config.getGcubeScope(), "StatisticalManager");
|
wps = org.gcube.dataanalysis.executor.util.IfraRetrieval.retrieveAddresses("WPS", config.getGcubeScope(), "StatisticalManager");
|
||||||
if (wps != null && wps.size() > 0) {
|
if (wps != null && wps.size() > 0) {
|
||||||
AnalysisLogger.getLogger().debug("WPS: found " + wps.size() + " wps instances");
|
AnalysisLogger.getLogger().debug("WPS: found " + wps.size() + " wps instances");
|
||||||
} else
|
} else{
|
||||||
AnalysisLogger.getLogger().debug("WPS: found NO wps instances");
|
// AnalysisLogger.getLogger().debug("WPS: found NO wps instances");
|
||||||
|
}
|
||||||
return wps;
|
return wps;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue