Add temp debug logging

This commit is contained in:
Shrenuj Bansal 2023-07-07 13:51:15 -04:00
parent 60ee56a23e
commit 1b61d13733

View File

@ -560,6 +560,7 @@ func (trw *tracerWrapper) Trace(evt *pubsub_pb.TraceEvent) {
case pubsub_pb.TraceEvent_PRUNE:
stats.Record(context.TODO(), metrics.PubsubPruneMessage.M(1))
log.Errorf("********************TRACE EVENT PRUNE****************************")
if trw.traceMessage(evt.GetPrune().GetTopic()) {
if trw.lp2pTracer != nil {
trw.lp2pTracer.Trace(evt)