Remove logs from torrent client

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
This commit is contained in:
Antonio Navarro Perez 2020-07-28 10:46:30 +02:00
parent 6cf36858f4
commit ad90c43203

View file

@ -66,7 +66,7 @@ func main() {
// TODO download and upload limits // TODO download and upload limits
torrentCfg := torrent.NewDefaultClientConfig() torrentCfg := torrent.NewDefaultClientConfig()
torrentCfg.Logger = tlog.Default.WithDefaultLevel(tlog.Info).FilterLevel(tlog.Info) torrentCfg.Logger = tlog.Discard
torrentCfg.Seed = true torrentCfg.Seed = true
torrentCfg.DisableTCP = true torrentCfg.DisableTCP = true
torrentCfg.DefaultStorage = st torrentCfg.DefaultStorage = st