Skip to content

Commit

Permalink
More debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedell-newrelic committed Dec 17, 2024
1 parent 704c1d2 commit 529a093
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ public BasicRequestRootTracer(Transaction transaction, ClassMethodSignature sig,
this.response = response;

Tracer rootTracer = transaction.getTransactionActivity().getRootTracer();
System.out.println("rootTracer: "+rootTracer);
if (rootTracer != null) {
System.out.println("MetricName: "+rootTracer.getMetricName());
System.out.println("JGB rootTracer: "+rootTracer);
System.out.println("JGB MetricName: "+rootTracer.getMetricName());
throw new SkipTracerException();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ public void testCustomAttributesInTransaction() {
Set<String> expected = Sets.newHashSet("abc.thread", "request.many", "message.many", "key1", "key2", "key4", "message.bool");

verifyOutput(t.getUserAttributes(), expected);
} catch (Exception e) {
System.out.println("JGB Exception in testCustomAttributesInTransaction: "+e);
System.out.println("JGB e.message: "+e.getMessage());

} finally {
Transaction.clearTransaction();
Expand Down

0 comments on commit 529a093

Please sign in to comment.