diff --git a/src/main/java/org/araymond/joal/core/ttorrent/client/Client.java b/src/main/java/org/araymond/joal/core/ttorrent/client/Client.java index 3305da4..2b619ed 100644 --- a/src/main/java/org/araymond/joal/core/ttorrent/client/Client.java +++ b/src/main/java/org/araymond/joal/core/ttorrent/client/Client.java @@ -3,6 +3,7 @@ package org.araymond.joal.core.ttorrent.client; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; import com.turn.ttorrent.common.protocol.TrackerMessage.AnnounceRequestMessage.RequestEvent; +import lombok.extern.slf4j.Slf4j; import org.araymond.joal.core.config.AppConfiguration; import org.araymond.joal.core.events.torrent.files.TorrentFileAddedEvent; import org.araymond.joal.core.events.torrent.files.TorrentFileDeletedEvent; @@ -36,6 +37,7 @@ import static java.util.stream.Collectors.toSet; *
  • implements {@link TorrentFileChangeAware} to react to torrent file changes in filesystem
  • * */ +@Slf4j public class Client implements TorrentFileChangeAware, ClientFacade { private final AppConfiguration appConfig; private final TorrentFileProvider torrentFileProvider; @@ -182,6 +184,7 @@ public class Client implements TorrentFileChangeAware, ClientFacade { } public void onUploadRatioLimitReached(final InfoHash infoHash) { + log.info("Deleting torrent [{}] since ratio has been met", infoHash); this.torrentFileProvider.moveToArchiveFolder(infoHash); }