From 4c52d9b0390253e2eea1fb12f7166c9f4d779423 Mon Sep 17 00:00:00 2001 From: Deivid Soto Date: Wed, 6 May 2026 21:17:11 +0200 Subject: [PATCH] =?UTF-8?q?chore(torrent):=20bump=20anacrolix=20log=20leve?= =?UTF-8?q?l=20Critical=20=E2=86=92=20Warning=20for=20visibility?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Surfaces tracker-announce + WebRTC peer events that were previously swallowed by the Critical filter. Required for diagnosing the browser ↔ Go piece-transfer issue uncovered during the e2e smoke (peers connect, signalling brokers, WebRTC handshake completes, but anacrolix's outbound seeding to webtorrent.js browsers — known upstream weak spot, issues #402/#752/#805 — produces zero pieces). No behaviour change in normal operation; only changes what gets logged. --- internal/engine/torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/engine/torrent.go b/internal/engine/torrent.go index 5b1d16d..16821fe 100644 --- a/internal/engine/torrent.go +++ b/internal/engine/torrent.go @@ -110,7 +110,7 @@ func NewTorrentDownloader(cfg TorrentConfig) (*TorrentDownloader, error) { // behaviour but unconditionally allow upload while WebRTC is on so an // active download can still serve to a watching browser. tcfg.NoUpload = !cfg.SeedEnabled && !cfg.WebRTCEnabled - tcfg.Logger = alog.Default.FilterLevel(alog.Critical) + tcfg.Logger = alog.Default.FilterLevel(alog.Warning) // bumped from Critical for WebRTC peer + tracker announce visibility // WebRTC / WebTorrent peer: anacrolix auto-routes ws://+wss:// trackers // to the bundled webtorrent.TrackerClient. We only need to populate the