From 995f42a16a7bf35627ecf051c12246a11f0c1d90 Mon Sep 17 00:00:00 2001 From: John Bedell Date: Fri, 20 Dec 2024 10:08:11 -0500 Subject: [PATCH] more logging --- .../newrelic/agent/service/async/AsyncTransactionService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/newrelic-agent/src/main/java/com/newrelic/agent/service/async/AsyncTransactionService.java b/newrelic-agent/src/main/java/com/newrelic/agent/service/async/AsyncTransactionService.java index 9507ca7b26..d8f98d49cc 100644 --- a/newrelic-agent/src/main/java/com/newrelic/agent/service/async/AsyncTransactionService.java +++ b/newrelic-agent/src/main/java/com/newrelic/agent/service/async/AsyncTransactionService.java @@ -69,7 +69,9 @@ public void onRemoval(Object key, Token transaction, RemovalCause cause) { // The implementation class is threadsafe. private static final Cache makeCache(RemovalListener removalListener) { // default set to 3 minutes (180), must match the behavior in TimedTokenSet: expireAfterAccess with same timeout + System.out.println("JGB making cache"); long timeoutSec = ServiceFactory.getConfigService().getDefaultAgentConfig().getTokenTimeoutInSec(); + System.out.println("JGB cache timeout secs: "+timeoutSec); long timeOutMilli = TimeConversion.convertToMilliWithLowerBound(timeoutSec, TimeUnit.SECONDS, 250L); System.out.println("JGB cache timeout millis: "+timeOutMilli);