Skip to content

Commit ae52603

Browse files
committed
ndnlp: reduce log
1 parent 7e8bf6a commit ae52603

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

fw/face/ndnlp-link-service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func sendPacket(l *NDNLPLinkService, out dispatch.OutPkt) {
178178
// Congestion marking
179179
congestionMark := pkt.CongestionMark // from upstream
180180
if l.checkCongestion(wire) && !congestionMark.IsSet() {
181-
core.Log.Warn(l, "Marking congestion")
181+
core.Log.Debug(l, "Marking congestion")
182182
congestionMark = optional.Some(uint64(1)) // ours
183183
}
184184

fw/table/pit-cs-tree.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,6 @@ func (p *pitCsTreeNode) pruneIfEmpty() {
368368
// newPitToken returns a new PIT token.
369369
func (p *PitCsTree) newPitToken() uint32 {
370370
p.nPitToken++
371-
if p.nPitToken%10000 == 0 {
372-
core.Log.Info(nil, "PIT token count", "count", p.nPitToken)
373-
}
374371
return uint32(p.nPitToken)
375372
}
376373

0 commit comments

Comments
 (0)