Skip to content

Commit

Permalink
Merge pull request #2408 from telefonicaid/fix/log_warn_to_info_arcgi…
Browse files Browse the repository at this point in the history
…s_feature_attribute_string

fix log warn to info level in arcgis feature when attribute string
  • Loading branch information
fgalan authored Sep 12, 2024
2 parents 6147fa5 + 841771b commit 30ac63c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES_NEXT_RELEASE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- [cygnus-ngsi] Upgrade Debian version from 12.5 to 12.6 in Dockerfile
- [cygnus-common][cygnus-ngsi] New setting mongo_uri (#2387)
- [cygnus-common][cygnus-ngsi] Deprecate (mongo_hosts, mongo_username, mongo_password, mongo_auth_source, mongo_replica_set) (use mongo_uri instead)
- [cygnus-ngsi][arcgis] fix log warn to info level in arcgis feature when attribute string (#2407)
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ protected void jsonElementToFeatureAttr(String attrName, String attrType, JsonEl
// Try to insert as Double
feature.addAttribute(attrName, Double.parseDouble(attrValue.toString()));
} catch (NumberFormatException e3) {
LOGGER.warn(
LOGGER.info(
"[NGSIArcgisAggregator] Unquoted String attribute: " + attrName + ":" + attrValue);
// If all fails, insert as String, except if null
if (attrValue != null &&
Expand Down

0 comments on commit 30ac63c

Please sign in to comment.