Skip to content

Commit

Permalink
optimize: 移除一些不必要的日志
Browse files Browse the repository at this point in the history
  • Loading branch information
chivehao committed Oct 19, 2024
1 parent 2b26c2d commit 5f803f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

# 17.1.4

- 移除一些不必要的日志

# 17.1.3

- 链接附件时给附件添加个条目标签
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/run/ikaros/plugin/mikan/MikanSubHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public Mono<Void> parseMikanSubRssAndAddToQbittorrent() {
}
}
long end = System.currentTimeMillis();
log.debug("qbittorrentClient.getTorrentList {}ms", end - start);
// log.debug("qbittorrentClient.getTorrentList {}ms", end - start);

String bgmTvSubjectId = qbTorrentInfo.getTags();
if (!StringUtils.hasText(bgmTvSubjectId)) {
Expand All @@ -152,8 +152,7 @@ public Mono<Void> parseMikanSubRssAndAddToQbittorrent() {
}
int index = bgmTvSubjectPageUrl.lastIndexOf("/");
bgmTvSubjectId = bgmTvSubjectPageUrl.substring(index + 1);
log.debug("bgmTvSubjectId and qbTorrentInfo" +
"bgmTvSubjectId: {} \nqbTorrentInfo: {}", bgmTvSubjectId, qbTorrentInfo);
// log.debug("bgmTvSubjectId and qbTorrentInfo" + "bgmTvSubjectId: {} \nqbTorrentInfo: {}", bgmTvSubjectId, qbTorrentInfo);
if (StringUtils.hasText(qbTorrentInfo.getHash())) {
qbittorrentClient.addSingleTags(qbTorrentInfo.getHash(), bgmTvSubjectId);
log.debug("add tag for torrent: {}", mikanRssItemTitle);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: PluginMikan
# plugin entry class that extends BasePlugin
clazz: run.ikaros.plugin.mikan.MikanPlugin
# plugin 'version' is a valid semantic version string (see semver.org).
version: 17.1.3
version: 17.1.4
requires: ">=0.17.4"
author:
name: Ikaros OSS Team
Expand Down

0 comments on commit 5f803f3

Please sign in to comment.