mirror of https://github.com/halo-dev/halo
Change some warning log to debug level
parent
07eea75e13
commit
ccdb705e7e
|
@ -290,7 +290,7 @@ public abstract class AbstractCrudService<DOMAIN, ID> implements CrudService<DOM
|
||||||
@Override
|
@Override
|
||||||
public void removeInBatch(Collection<ID> ids) {
|
public void removeInBatch(Collection<ID> ids) {
|
||||||
if (CollectionUtils.isEmpty(ids)) {
|
if (CollectionUtils.isEmpty(ids)) {
|
||||||
log.warn(domainName + " id collection is empty");
|
log.debug(domainName + " id collection is empty");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -305,7 +305,7 @@ public abstract class AbstractCrudService<DOMAIN, ID> implements CrudService<DOM
|
||||||
@Override
|
@Override
|
||||||
public void removeAll(Collection<DOMAIN> domains) {
|
public void removeAll(Collection<DOMAIN> domains) {
|
||||||
if (CollectionUtils.isEmpty(domains)) {
|
if (CollectionUtils.isEmpty(domains)) {
|
||||||
log.warn(domainName + " collection is empty");
|
log.debug(domainName + " collection is empty");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
repository.deleteInBatch(domains);
|
repository.deleteInBatch(domains);
|
||||||
|
|
Loading…
Reference in New Issue