DBBean GC only log if there is a change
This commit is contained in:
parent
0f3a1142b3
commit
76efbf10e8
1 changed files with 2 additions and 1 deletions
|
|
@ -172,7 +172,8 @@ public class DBBeanSQLResultHandler<T> implements SQLResultHandler<T>{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.info("DBBean GarbageCollector has cleared "+removed+" beans from cache.");
|
if (removed > 0)
|
||||||
|
logger.info("DBBean GarbageCollector has cleared "+removed+" beans from cache.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue