From 0b7a1618d6a50158dd29ec4060bdb040f73f6d31 Mon Sep 17 00:00:00 2001 From: Doug Hilpipre Date: Wed, 13 Nov 2024 09:12:45 -0600 Subject: [PATCH] removed System.out.print that was causing excessive logging --- gradle.properties | 1 + .../com/newrelic/instrumentation/quarkus/resteasy/Utils.java | 1 - .../com/newrelic/instrumentation/quarkus/resteasy/Utils.java | 1 - .../com/newrelic/instrumentation/quarkus/resteasy/Utils.java | 1 - .../instrumentation/quarkus/resteasy/reactive/Utils.java | 1 - .../instrumentation/quarkus/resteasy/reactive/Utils.java | 1 - .../instrumentation/quarkus/resteasy/reactive/Utils.java | 1 - .../instrumentation/quarkus/resteasy/reactive/Utils.java | 1 - .../instrumentation/quarkus/resteasy/reactive/Utils.java | 1 - 9 files changed, 1 insertion(+), 8 deletions(-) create mode 100644 gradle.properties diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..899c9f9 --- /dev/null +++ b/gradle.properties @@ -0,0 +1 @@ +org.gradle.jvmargs=-Xmx2048m diff --git a/quarkus-resteasy-2.0/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/Utils.java b/quarkus-resteasy-2.0/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/Utils.java index 61fa7fb..3c93a7c 100644 --- a/quarkus-resteasy-2.0/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/Utils.java +++ b/quarkus-resteasy-2.0/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/Utils.java @@ -46,7 +46,6 @@ public static void setTransactionName(RoutingContext request) { if (method != null & method.length() > 0) { name += " (" + method + ")"; } - System.out.println(name); NewRelic.getAgent().getTransaction().setTransactionName(TransactionNamePriority.FRAMEWORK_LOW, false, "Quarkus", "resteasy", name); diff --git a/quarkus-resteasy-2.11/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/Utils.java b/quarkus-resteasy-2.11/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/Utils.java index e7dc6d7..d852758 100644 --- a/quarkus-resteasy-2.11/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/Utils.java +++ b/quarkus-resteasy-2.11/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/Utils.java @@ -39,7 +39,6 @@ public static void setTransactionName(RoutingContext request) { if (method != null & method.length() > 0) { name += " (" + method + ")"; } - System.out.println(name); NewRelic.getAgent().getTransaction().setTransactionName(TransactionNamePriority.FRAMEWORK_LOW, false, "Quarkus", "resteasy", name); diff --git a/quarkus-resteasy-2.14.1/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/Utils.java b/quarkus-resteasy-2.14.1/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/Utils.java index e7dc6d7..d852758 100644 --- a/quarkus-resteasy-2.14.1/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/Utils.java +++ b/quarkus-resteasy-2.14.1/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/Utils.java @@ -39,7 +39,6 @@ public static void setTransactionName(RoutingContext request) { if (method != null & method.length() > 0) { name += " (" + method + ")"; } - System.out.println(name); NewRelic.getAgent().getTransaction().setTransactionName(TransactionNamePriority.FRAMEWORK_LOW, false, "Quarkus", "resteasy", name); diff --git a/quarkus-resteasy-reactive-2.0/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java b/quarkus-resteasy-reactive-2.0/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java index e928aa0..fd7e3dd 100644 --- a/quarkus-resteasy-reactive-2.0/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java +++ b/quarkus-resteasy-reactive-2.0/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java @@ -46,7 +46,6 @@ public static void setTransactionName(RoutingContext request) { if (method != null & method.length() > 0) { name += " (" + method + ")"; } - System.out.println(name); NewRelic.getAgent().getTransaction().setTransactionName(TransactionNamePriority.FRAMEWORK_LOW, false, "Quarkus", "resteasy-reactive", name); diff --git a/quarkus-resteasy-reactive-2.11/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java b/quarkus-resteasy-reactive-2.11/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java index 13241bf..8be5df4 100644 --- a/quarkus-resteasy-reactive-2.11/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java +++ b/quarkus-resteasy-reactive-2.11/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java @@ -123,7 +123,6 @@ public static void setTransactionName(RoutingContext request) { if (method != null & method.length() > 0) { name += " (" + method + ")"; } - // System.out.println(name); NewRelic.getAgent().getTransaction().setTransactionName(TransactionNamePriority.FRAMEWORK_LOW, false, "Quarkus", "resteasy-reactive", name); diff --git a/quarkus-resteasy-reactive-2.6/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java b/quarkus-resteasy-reactive-2.6/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java index 13241bf..8be5df4 100644 --- a/quarkus-resteasy-reactive-2.6/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java +++ b/quarkus-resteasy-reactive-2.6/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java @@ -123,7 +123,6 @@ public static void setTransactionName(RoutingContext request) { if (method != null & method.length() > 0) { name += " (" + method + ")"; } - // System.out.println(name); NewRelic.getAgent().getTransaction().setTransactionName(TransactionNamePriority.FRAMEWORK_LOW, false, "Quarkus", "resteasy-reactive", name); diff --git a/quarkus-resteasy-reactive-3.0/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java b/quarkus-resteasy-reactive-3.0/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java index e67215f..e169229 100644 --- a/quarkus-resteasy-reactive-3.0/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java +++ b/quarkus-resteasy-reactive-3.0/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java @@ -122,7 +122,6 @@ public static void setTransactionName(RoutingContext request) { if (method != null & method.length() > 0) { name += " (" + method + ")"; } - // System.out.println(name); NewRelic.getAgent().getTransaction().setTransactionName(TransactionNamePriority.FRAMEWORK_LOW, false, "Quarkus", "resteasy-reactive", name); diff --git a/quarkus-resteasy-reactive-3.9/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java b/quarkus-resteasy-reactive-3.9/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java index e67215f..e169229 100644 --- a/quarkus-resteasy-reactive-3.9/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java +++ b/quarkus-resteasy-reactive-3.9/src/main/java/com/newrelic/instrumentation/quarkus/resteasy/reactive/Utils.java @@ -122,7 +122,6 @@ public static void setTransactionName(RoutingContext request) { if (method != null & method.length() > 0) { name += " (" + method + ")"; } - // System.out.println(name); NewRelic.getAgent().getTransaction().setTransactionName(TransactionNamePriority.FRAMEWORK_LOW, false, "Quarkus", "resteasy-reactive", name);