Remove redundant logging statements

- Removed log statement in `pkg/app/relay/spider-fetch.go` for batch processing
- Removed log level output in `main.go`
- Removed configuration logging in `pkg/app/config/config.go`
- Removed unused log import in `pkg/protocol/ws/subscription.go`
- Removed connection success log in `pkg/protocol/ws/client.go`
- Added early return condition for non-follow-list kind in `spider-fetch.go`
This commit is contained in:
2025-07-20 21:52:04 +01:00
parent e3c931fcf9
commit 56ab6eaa81
5 changed files with 5 additions and 7 deletions

View File

@@ -10,7 +10,6 @@ import (
"orly.dev/pkg/utils/chk"
"orly.dev/pkg/utils/context"
"orly.dev/pkg/utils/errorf"
"orly.dev/pkg/utils/log"
"strconv"
"sync"
"sync/atomic"
@@ -158,7 +157,6 @@ func (sub *Subscription) Close() {
closeMsg := closeenvelope.NewFrom(id)
var b []byte
b = closeMsg.Marshal(nil)
log.T.F("{%s} sending %s", sub.Relay.URL, b)
<-sub.Relay.Write(b)
}
}