Add log for adding new torrents
This commit is contained in:
@@ -63,6 +63,7 @@ func (t *TorrentManager) RefreshTorrents() []string {
|
||||
torrents.Set(accessKey, tor)
|
||||
updatedPaths = append(updatedPaths, fmt.Sprintf("%s/%s", directory, accessKey))
|
||||
})
|
||||
t.log.Infof("Added %s to the library", accessKey)
|
||||
t.allAccessKeys.Add(accessKey)
|
||||
return true
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user