From 9255c0bda46e4483f602ed3b65fc50267f5c4b98 Mon Sep 17 00:00:00 2001 From: Andrea Bollini Date: Fri, 11 Oct 2024 13:57:05 +0200 Subject: [PATCH] DSC-1960 reduce noice in log file --- .../org/dspace/app/rest/submit/step/DescribeStep.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dspace-server-webapp/src/main/java/org/dspace/app/rest/submit/step/DescribeStep.java b/dspace-server-webapp/src/main/java/org/dspace/app/rest/submit/step/DescribeStep.java index 98e62da012b5..78b653820a3b 100644 --- a/dspace-server-webapp/src/main/java/org/dspace/app/rest/submit/step/DescribeStep.java +++ b/dspace-server-webapp/src/main/java/org/dspace/app/rest/submit/step/DescribeStep.java @@ -100,7 +100,7 @@ private void readField(InProgressSubmission obj, SubmissionStepConfig config, Da } } else if (StringUtils.equalsIgnoreCase(input.getInputType(), "group") || StringUtils.equalsIgnoreCase(input.getInputType(), "inline-group")) { - log.info("Called child form:" + config.getId() + "-" + + log.debug("Called child form:" + config.getId() + "-" + Utils.standardize(input.getSchema(), input.getElement(), input.getQualifier(), "-")); DCInputSet inputConfigChild = inputReader.getInputsByFormName(config.getId() + "-" + Utils .standardize(input.getSchema(), input.getElement(), input.getQualifier(), "-")); @@ -191,10 +191,6 @@ public void doPatchProcessing(Context context, HttpServletRequest currentRequest } } - private boolean isFromVocabulary(DCInput dcInput) { - return StringUtils.isNotBlank(dcInput.getVocabulary()); - } - private List getInputFieldsName(DCInputSet inputConfig, String configId) throws DCInputsReaderException { List fieldsName = new ArrayList(); for (DCInput[] row : inputConfig.getFields()) { @@ -205,7 +201,7 @@ private List getInputFieldsName(DCInputSet inputConfig, String configId) } } else if (StringUtils.equalsIgnoreCase(input.getInputType(), "group") || StringUtils.equalsIgnoreCase(input.getInputType(), "inline-group")) { - log.info("Called child form:" + configId + "-" + + log.debug("Called child form:" + configId + "-" + Utils.standardize(input.getSchema(), input.getElement(), input.getQualifier(), "-")); DCInputSet inputConfigChild = inputReader.getInputsByFormName(configId + "-" + Utils .standardize(input.getSchema(), input.getElement(), input.getQualifier(), "-"));