From b4a366805a7bc3cf73c3d9bcc00dda8fb689569f Mon Sep 17 00:00:00 2001 From: Ben Sarmiento Date: Thu, 7 Dec 2023 13:36:04 +0100 Subject: [PATCH] Add log for adding new torrents --- internal/torrent/refresh.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/torrent/refresh.go b/internal/torrent/refresh.go index 27becbc..f4ea40e 100644 --- a/internal/torrent/refresh.go +++ b/internal/torrent/refresh.go @@ -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 })