Skip to content

Commit

Permalink
Merge pull request #860 from GheisMohammadi/fix/servermode_log
Browse files Browse the repository at this point in the history
Enhance handleNewMessage Server Mode Logging: Convert Error Logs to Debug Level
  • Loading branch information
guillaumemichel committed Aug 10, 2023
2 parents fa4953c + 3e31bcd commit 6d9adb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dht_net.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (dht *IpfsDHT) handleNewMessage(s network.Stream) bool {

for {
if dht.getMode() != modeServer {
logger.Errorf("ignoring incoming dht message while not in server mode")
logger.Debugf("ignoring incoming dht message while not in server mode")
return false
}

Expand Down

0 comments on commit 6d9adb0

Please sign in to comment.