From ad90c432031a4da6b5af382a11420627cbbe3f6a Mon Sep 17 00:00:00 2001 From: Antonio Navarro Perez Date: Tue, 28 Jul 2020 10:46:30 +0200 Subject: [PATCH] Remove logs from torrent client Signed-off-by: Antonio Navarro Perez --- cmd/distribyted/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/distribyted/main.go b/cmd/distribyted/main.go index fd8fe3c..f3c4686 100644 --- a/cmd/distribyted/main.go +++ b/cmd/distribyted/main.go @@ -66,7 +66,7 @@ func main() { // TODO download and upload limits torrentCfg := torrent.NewDefaultClientConfig() - torrentCfg.Logger = tlog.Default.WithDefaultLevel(tlog.Info).FilterLevel(tlog.Info) + torrentCfg.Logger = tlog.Discard torrentCfg.Seed = true torrentCfg.DisableTCP = true torrentCfg.DefaultStorage = st