diff --git a/indexer-core/src/main/java/org/opengroup/osdu/indexer/service/IndexSchemaServiceImpl.java b/indexer-core/src/main/java/org/opengroup/osdu/indexer/service/IndexSchemaServiceImpl.java index f672ef601075502360fbfac7a3abce90cf3e45a3..31b63bafb3fe19b1ad5a6302b94953c56c7f5c4f 100644 --- a/indexer-core/src/main/java/org/opengroup/osdu/indexer/service/IndexSchemaServiceImpl.java +++ b/indexer-core/src/main/java/org/opengroup/osdu/indexer/service/IndexSchemaServiceImpl.java @@ -175,7 +175,7 @@ public class IndexSchemaServiceImpl implements IndexSchemaService { } } catch(Exception ex) { - log.warning(String.format("Augmenter: Failed to merge schema of the extended properties for kind: '%s'", kind), ex); + log.error(String.format("Augmenter: Failed to merge schema of the extended properties for kind: '%s'", kind), ex); } } diff --git a/indexer-core/src/main/java/org/opengroup/osdu/indexer/service/IndexerServiceImpl.java b/indexer-core/src/main/java/org/opengroup/osdu/indexer/service/IndexerServiceImpl.java index 56d741c8dc7d3c1561612d7522605de6647ca8ec..529d9f15a1f81ae20f9ce3767ba8a9c783122d3f 100644 --- a/indexer-core/src/main/java/org/opengroup/osdu/indexer/service/IndexerServiceImpl.java +++ b/indexer-core/src/main/java/org/opengroup/osdu/indexer/service/IndexerServiceImpl.java @@ -166,7 +166,7 @@ public class IndexerServiceImpl implements IndexerService { } } catch(Exception ex) { - jaxRsDpsLog.warning("Augmenter: Failed to update associated records", ex); + jaxRsDpsLog.error("Augmenter: Failed to update associated records", ex); } } } catch (IOException e) { @@ -363,7 +363,7 @@ public class IndexerServiceImpl implements IndexerService { } } catch(Exception ex) { - jaxRsDpsLog.warning(String.format("Augmenter: Failed to merge extended properties of the record with id: '%s' and kind: '%s'", storageRecord.getId(), storageRecord.getKind()), ex); + jaxRsDpsLog.error(String.format("Augmenter: Failed to merge extended properties of the record with id: '%s' and kind: '%s'", storageRecord.getId(), storageRecord.getKind()), ex); } } diff --git a/indexer-core/src/main/java/org/opengroup/osdu/indexer/service/PropertyConfigurationsServiceImpl.java b/indexer-core/src/main/java/org/opengroup/osdu/indexer/service/PropertyConfigurationsServiceImpl.java index a52d4c69044b0753d7670718fe62bb5094b921e1..d7aa52e00e73505535dbac9d423168fa1744ec5b 100644 --- a/indexer-core/src/main/java/org/opengroup/osdu/indexer/service/PropertyConfigurationsServiceImpl.java +++ b/indexer-core/src/main/java/org/opengroup/osdu/indexer/service/PropertyConfigurationsServiceImpl.java @@ -130,7 +130,7 @@ public class PropertyConfigurationsServiceImpl implements PropertyConfigurations // Log for debug if(configuration.hasInvalidConfigurations()) { String msg = String.format("PropertyConfigurations: it has invalid PropertyConfiguration for configurations with name '%s':", configuration.getName()); - this.jaxRsDpsLog.debug(msg); + this.jaxRsDpsLog.warning(msg); } } else { @@ -145,7 +145,7 @@ public class PropertyConfigurationsServiceImpl implements PropertyConfigurations msgBuilder.append(System.lineSeparator()); msgBuilder.append("It does not have any valid PropertyConfiguration"); } - this.jaxRsDpsLog.debug(msgBuilder.toString()); + this.jaxRsDpsLog.warning(msgBuilder.toString()); configuration = EMPTY_CONFIGURATIONS; // reset }