Unverified Commit 90c1cdc7 authored by Zzm0809's avatar Zzm0809 Committed by GitHub

[Optimization] change loginfo to debug (#3464)

Signed-off-by: 's avatarZzm0809 <934230207@qq.com>
parent 38a95196
...@@ -51,7 +51,7 @@ public class CatalogueTreeSortCreateTimeStrategy implements CatalogueTreeSortStr ...@@ -51,7 +51,7 @@ public class CatalogueTreeSortCreateTimeStrategy implements CatalogueTreeSortStr
*/ */
@Override @Override
public List<Catalogue> sort(List<Catalogue> catalogueTree, SortTypeEnum sortTypeEnum) { public List<Catalogue> sort(List<Catalogue> catalogueTree, SortTypeEnum sortTypeEnum) {
log.info( log.debug(
"sort catalogue tree based on creation time. catalogueTree: {}, sortTypeEnum: {}", "sort catalogue tree based on creation time. catalogueTree: {}, sortTypeEnum: {}",
catalogueTree, catalogueTree,
sortTypeEnum); sortTypeEnum);
......
...@@ -51,7 +51,7 @@ public class CatalogueTreeSortDefaultStrategy implements CatalogueTreeSortStrate ...@@ -51,7 +51,7 @@ public class CatalogueTreeSortDefaultStrategy implements CatalogueTreeSortStrate
*/ */
@Override @Override
public List<Catalogue> sort(List<Catalogue> catalogueTree, SortTypeEnum sortTypeEnum) { public List<Catalogue> sort(List<Catalogue> catalogueTree, SortTypeEnum sortTypeEnum) {
log.info("sort catalogue tree based on id. catalogueTree: {}, sortTypeEnum: {}", catalogueTree, sortTypeEnum); log.debug("sort catalogue tree based on id. catalogueTree: {}, sortTypeEnum: {}", catalogueTree, sortTypeEnum);
return recursionSortCatalogues(catalogueTree, sortTypeEnum); return recursionSortCatalogues(catalogueTree, sortTypeEnum);
} }
......
...@@ -53,7 +53,7 @@ public class CatalogueTreeSortFirstLetterStrategy implements CatalogueTreeSortSt ...@@ -53,7 +53,7 @@ public class CatalogueTreeSortFirstLetterStrategy implements CatalogueTreeSortSt
*/ */
@Override @Override
public List<Catalogue> sort(List<Catalogue> catalogueTree, SortTypeEnum sortTypeEnum) { public List<Catalogue> sort(List<Catalogue> catalogueTree, SortTypeEnum sortTypeEnum) {
log.info( log.debug(
"sort catalogue tree based on first letter. catalogueTree: {}, sortTypeEnum: {}", "sort catalogue tree based on first letter. catalogueTree: {}, sortTypeEnum: {}",
catalogueTree, catalogueTree,
sortTypeEnum); sortTypeEnum);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment