Remove logs from torrent client
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
This commit is contained in:
parent
6cf36858f4
commit
ad90c43203
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue