Skip to content

Commit 41566c0

Browse files
committed
proof+universe: downgrade log level from debug to trace
These log messages are not useful enough for debug-level output but remain valuable at the trace level. This change downgrades their log level accordingly.
1 parent 417e2fc commit 41566c0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

proof/taproot.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ func (p TaprootProof) DeriveByAssetExclusion(assetCommitmentKey,
423423
// asset ID, but we want to verify that the particular asset we care
424424
// about isn't included.
425425
default:
426-
log.Debugf("Deriving commitment by asset exclusion")
426+
log.Tracef("Deriving commitment by asset exclusion")
427427
tapCommitment, err = p.CommitmentProof.
428428
DeriveByAssetExclusion(assetCommitmentKey)
429429
}
@@ -485,7 +485,7 @@ func deriveCommitmentKeys(commitment *commitment.TapCommitment,
485485
commitmentKeys[downgradePubKey] = downgradedCommitment
486486
}
487487

488-
log.Debugf("Derived Taproot Asset commitment by %s "+
488+
log.Tracef("Derived Taproot Asset commitment by %s "+
489489
"taproot_asset_root=%x, internal_key=%x, Commitment V2 "+
490490
"taproot_key=%x, NonV2 taproot_key=%x",
491491
proofType, fn.ByteSlice(commitment.TapscriptRoot(nil)),

universe/archive.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ func withUni[T any](fetcher uniFetcher, id Identifier,
129129
func (a *Archive) RootNode(ctx context.Context,
130130
id Identifier) (Root, error) {
131131

132-
log.Debugf("Looking up root node for base Universe %v", spew.Sdump(id))
132+
log.TraceS(ctx, "Looking up universe root node", "universe",
133+
id.StringForLog())
133134

134135
return a.cfg.Multiverse.UniverseRootNode(ctx, id)
135136
}

0 commit comments

Comments
 (0)