Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class StructuredTraceGraphBuilder {
public static StructuredTraceGraph buildGraph(StructuredTrace trace) {
// trace doesn't exist
if (cachedTrace.get() == null) {
LOG.info("Building structured trace graph. Reason: no cached trace");
LOG.debug("Building structured trace graph. Reason: no cached trace");
StructuredTraceGraph graph = StructuredTraceGraph.createGraph(trace);
cachedTrace.set(StructuredTrace.newBuilder(trace).build());
cachedGraph.set(graph);
Expand All @@ -24,7 +24,7 @@ public static StructuredTraceGraph buildGraph(StructuredTrace trace) {
// is processed and cached are same trace?
if (!cachedTrace.get().getCustomerId().equals(trace.getCustomerId()) ||
!cachedTrace.get().getTraceId().equals(trace.getTraceId())) {
LOG.info("Building structured trace graph. Reason: cached trace and current trace doesn't not match");
LOG.debug("Building structured trace graph. Reason: cached trace and current trace doesn't not match");
StructuredTraceGraph graph = StructuredTraceGraph.createGraph(trace);
cachedTrace.set(StructuredTrace.newBuilder(trace).build());
cachedGraph.set(graph);
Expand All @@ -37,7 +37,7 @@ public static StructuredTraceGraph buildGraph(StructuredTrace trace) {
cachedTrace.get().getEntityEdgeList().size() != trace.getEntityEdgeList().size() ||
cachedTrace.get().getEntityEventEdgeList().size() != trace.getEntityEventEdgeList().size() ||
cachedTrace.get().getEventEdgeList().size() != trace.getEventEdgeList().size()) {
LOG.info("Building structured trace graph. Reason: cached trace and current trace have different size");
LOG.debug("Building structured trace graph. Reason: cached trace and current trace have different size");
StructuredTraceGraph graph = StructuredTraceGraph.createGraph(trace);
cachedTrace.set(StructuredTrace.newBuilder(trace).build());
cachedGraph.set(graph);
Expand Down