diff --git a/cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSIArcgisFeatureTableSink.java b/cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSIArcgisFeatureTableSink.java index 4282ee00e..a95f24d1f 100644 --- a/cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSIArcgisFeatureTableSink.java +++ b/cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSIArcgisFeatureTableSink.java @@ -396,7 +396,7 @@ public void persistAggregation(NGSIArcgisAggregator aggregator) throws CygnusRun featureTable.addToBatch(aggregation.getFeature()); if (featureTable.hasError()){ - logger.error("feature table " + featureTableUrl + " has error code " + featureTable.getErrorCode() + " with desc " + featureTable.getErrorDesc()); + LOGGER.error("feature table " + featureTableUrl + " has error code " + featureTable.getErrorCode() + " with desc " + featureTable.getErrorDesc()); throw new ArcgisException(featureTable.getErrorCode(), featureTable.getErrorDesc()); } }