From 1d400535d25633ef01bbe987d3f18c1fe656c845 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Wed, 5 Jul 2023 13:14:39 -0400 Subject: [PATCH] remove logger lines --- src/main/java/io/cryostat/net/AgentClient.java | 2 -- src/main/java/io/cryostat/net/AgentJFRService.java | 4 ---- 2 files changed, 6 deletions(-) diff --git a/src/main/java/io/cryostat/net/AgentClient.java b/src/main/java/io/cryostat/net/AgentClient.java index e9e43963ae..4d0ff0c155 100644 --- a/src/main/java/io/cryostat/net/AgentClient.java +++ b/src/main/java/io/cryostat/net/AgentClient.java @@ -131,7 +131,6 @@ Future mbeanMetrics() { } Future startRecording(StartRecordingRequest req) { - logger.info("requesting recording start:\n{}", gson.toJson(req)); Future> f = invoke( HttpMethod.POST, @@ -143,7 +142,6 @@ Future startRecording(StartRecordingRequest req) { int statusCode = resp.statusCode(); if (HttpStatusCodeIdentifier.isSuccessCode(statusCode)) { String body = resp.body(); - logger.info("Received recording start response:\n{}", body); return gson.fromJson(body, SerializableRecordingDescriptor.class) .toJmcForm(); } else if (statusCode == 403) { diff --git a/src/main/java/io/cryostat/net/AgentJFRService.java b/src/main/java/io/cryostat/net/AgentJFRService.java index 22194bdc49..7e80a179b2 100644 --- a/src/main/java/io/cryostat/net/AgentJFRService.java +++ b/src/main/java/io/cryostat/net/AgentJFRService.java @@ -253,7 +253,6 @@ public IRecordingDescriptor start( QuantityConversionException, EventOptionException, EventTypeException { StartRecordingRequest req; String recordingName = recordingOptions.get("name").toString(); - logger.info("recordingName: {}", recordingName); long duration = (Optional.ofNullable( (ITypedQuantity) @@ -261,7 +260,6 @@ public IRecordingDescriptor start( RecordingOptionsBuilder.KEY_DURATION)) .orElse(UnitLookup.MILLISECOND.quantity(0))) .longValueIn(UnitLookup.MILLISECOND); - logger.info("duration: {}", duration); long maxSize = (Optional.ofNullable( (ITypedQuantity) @@ -269,7 +267,6 @@ public IRecordingDescriptor start( RecordingOptionsBuilder.KEY_MAX_SIZE)) .orElse(UnitLookup.BYTE.quantity(0))) .longValueIn(UnitLookup.BYTE); - logger.info("maxSize: {}", maxSize); long maxAge = (Optional.ofNullable( (ITypedQuantity) @@ -277,7 +274,6 @@ public IRecordingDescriptor start( RecordingOptionsBuilder.KEY_MAX_AGE)) .orElse(UnitLookup.MILLISECOND.quantity(0))) .longValueIn(UnitLookup.MILLISECOND); - logger.info("maxAge: {}", maxAge); if (preferredTemplateType.equals(TemplateType.CUSTOM)) { req = new StartRecordingRequest(