Skip to content

Commit 67da09c

Browse files
author
li-guohao
committed
optimize: 添加开始和结束INFO日志
1 parent d607886 commit 67da09c

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

CHANGELOG.MD

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
更新日志文档,版本顺序从新到旧,最新版本在最前(上)面。
44

5+
# 0.12.5
6+
7+
## 优化
8+
9+
- 添加开始和结束INFO日志
10+
511
# 0.12.4
612

713
## 修复

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
group=run.ikaros.plugin.alist
22
description=A ikaros plugin for alist.
3-
version=0.12.4
3+
version=0.12.5

src/main/java/run/ikaros/plugin/alist/AListEndpoint.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ Mono<ServerResponse> doImportFilesFromAList(ServerRequest request) {
6969
.doOnSuccess(strings -> log.debug("strings size: {}", strings.size()))
7070
.filter(Objects::nonNull)
7171
.filter(strings -> !strings.isEmpty())
72+
.doOnSuccess(strings -> log.info("Start import alist files..."))
7273
.flatMap(aListClient::doImportFilesFromAListPath)
74+
.doOnSuccess(strings -> log.info("End import alist files."))
7375
.then(ServerResponse.ok().build())
7476
.switchIfEmpty(ServerResponse.notFound().build());
7577
}

src/main/resources/plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: PluginAList
44
# plugin entry class that extends BasePlugin
55
clazz: run.ikaros.plugin.alist.AListPlugin
66
# plugin 'version' is a valid semantic version string (see semver.org).
7-
version: 0.12.4
7+
version: 0.12.5
88
requires: ">=0.12.1"
99
author:
1010
name: Ikaros OSS Team

0 commit comments

Comments
 (0)