Optimize logging to reduce verbosity while preserving critical network events (#432)

- Remove excessive verbose logging (DISCOVERY, INCOMING, PEER-UPDATE, etc.)
- Preserve critical network state logs (RESTORE, handshake failures, security events)
- Change routine key operations from info to debug level
- Add successful peer connection log after handshake completion
- Fix compiler warnings for unused variables
- Achieve ~95% reduction in log volume while maintaining debugging capability

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
This commit is contained in:
jack
2025-08-11 23:45:59 +02:00
committed by GitHub
co-authored by jack
parent 04c2b0caa6
commit 3226b9cd14
8 changed files with 31 additions and 152 deletions
@@ -335,7 +335,6 @@ class FavoritesPersistenceService: ObservableObject {
key: Self.storageKey,
service: Self.keychainService
) else {
SecureLogger.log("📭 No existing favorites found in keychain", category: SecureLogger.session, level: .info)
return
}