lastDup no key (#4258)

This commit is contained in:
Alex Sharov 2022-05-25 15:26:20 +07:00 committed by GitHub
parent 1eb9aec08a
commit 9fd05cd812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,9 +116,9 @@ func New(snapDir string, verbosity lg.Level, natif nat.Interface, downloadRate,
}
// debug
if lg.Debug == verbosity {
torrentConfig.Debug = true
}
//if lg.Debug == verbosity {
// torrentConfig.Debug = true
//}
torrentConfig.Logger = lg.Default.FilterLevel(verbosity)
torrentConfig.Logger.Handlers = []lg.Handler{adapterHandler{}}