From 1b993c451b1fd56f1c01048cf8a6e3d0255a914b Mon Sep 17 00:00:00 2001 From: Dmitry Litvintsev Date: Mon, 4 Nov 2024 21:15:18 -0600 Subject: [PATCH] remove logging Signed-off-by: Dmitry Litvintsev --- .../org/dcache/restful/resources/tape/StageResources.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/dcache-frontend/src/main/java/org/dcache/restful/resources/tape/StageResources.java b/modules/dcache-frontend/src/main/java/org/dcache/restful/resources/tape/StageResources.java index 407c81329bc..72f39bb11a1 100644 --- a/modules/dcache-frontend/src/main/java/org/dcache/restful/resources/tape/StageResources.java +++ b/modules/dcache-frontend/src/main/java/org/dcache/restful/resources/tape/StageResources.java @@ -115,8 +115,6 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Required; import org.springframework.stereotype.Component; @@ -129,7 +127,6 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING @Api(value = "tape", authorizations = {@Authorization("basicAuth")}) @Path("tape/stage") public final class StageResources { - private static final Logger LOGGER = LoggerFactory.getLogger(StageResources.class); private static final String STAGE = "STAGE"; @Context @@ -406,7 +403,6 @@ private BulkRequest toBulkRequest(String requestPayload, FsPath rootPath) { if (file.has("diskLifetime")) { jsonLifetimes.put(path, TimeUtils.validateDuration(file.getString("diskLifetime"))); - LOGGER.error("Path {}, diskLifetime {}, {}", path, file.getString("diskLifetime"), TimeUtils.validateDuration(file.getString("diskLifetime"))); } if (file.has("targetedMetadata")) { getTargetedMetadataForPath(file).ifPresent(mdata ->