Changed log level in DBBean

This commit is contained in:
Ziver Koc 2016-02-14 20:23:53 +01:00
parent 07eae68b0b
commit 946953699f
2 changed files with 2 additions and 2 deletions

BIN
Zutil.jar

Binary file not shown.

View file

@ -130,14 +130,14 @@ public class DBBeanSQLResultHandler<T> implements SQLResultHandler<T>{
if( timer == null ){
timer = new Timer( true ); // Run as daemon
timer.schedule( new DBBeanGarbageCollector(), CACHE_DATA_TTL, CACHE_DATA_TTL *2 );
logger.info("Bean garbage collection daemon enabled");
logger.fine("Bean garbage collection daemon enabled");
}
}
else {
if (timer != null) {
timer.cancel();
timer = null;
logger.info("Bean garbage collection daemon disabled");
logger.fine("Bean garbage collection daemon disabled");
}
}
}