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 Nov 28, 2024
1 parent 2b71d13 commit ec678aa
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 @@ -3242,17 +3242,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 ec678aa

Please sign in to comment.