Skip to content

Commit

Permalink
revert debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
anmol-ap committed Feb 21, 2025
1 parent 89b0bd0 commit fb5fd97
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions axiom/nr_txn.c
Original file line number Diff line number Diff line change
Expand Up @@ -3259,17 +3259,14 @@ char* nr_txn_get_current_trace_id(nrtxn_t* txn) {
const char* trace_id;

if (NULL == txn) {
nrl_debug(NRL_AGENT, "%s", "nr_txn_get_current_trace_id : txn is NULL");
return NULL;
}

trace_id = nr_distributed_trace_get_trace_id(txn->distributed_trace);
nrl_debug(NRL_AGENT, "nr_distributed_trace_get_trace_id : %s", trace_id);

if ((NULL == trace_id) || (!txn->options.distributed_tracing_enabled)) {
return NULL;
}
nrl_debug(NRL_AGENT, "returning trace_id : %s", trace_id);
return nr_strdup(trace_id);
}

Expand Down

0 comments on commit fb5fd97

Please sign in to comment.