Skip to content

Commit

Permalink
Reduce verbosity of logging message
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Jan 16, 2020
1 parent bf926fc commit 2aa4a74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static void inject(Tracer tracer, Span span, HttpRequest request) {
Objects.requireNonNull(request, "Request must be set.");

StackTraceElement caller = Thread.currentThread().getStackTrace()[2];
LOG.info(String.format("Injecting %s into %s at %s:%d", request, span, caller.getClassName(), caller.getLineNumber()));
LOG.fine(String.format("Injecting %s into %s at %s:%d", request, span, caller.getClassName(), caller.getLineNumber()));

span.setTag(Tags.HTTP_METHOD.getKey(), request.getMethod().toString());
span.setTag(Tags.HTTP_URL.getKey(), request.getUri());
Expand Down

0 comments on commit 2aa4a74

Please sign in to comment.