Fix log level guard in DatabaseStartupValidator.afterPropertiesSet()

This commit is contained in:
Johnny Lim 2018-07-26 22:40:03 +09:00 committed by Juergen Hoeller
parent 964467d269
commit 38525ceff6
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ public class DatabaseStartupValidator implements InitializingBean {
if (logger.isDebugEnabled()) {
logger.debug("Validation query [" + this.validationQuery + "] threw exception", ex);
}
if (logger.isWarnEnabled()) {
if (logger.isInfoEnabled()) {
float rest = ((float) (deadLine - System.currentTimeMillis())) / 1000;
if (rest > this.interval) {
logger.info("Database has not started up yet - retrying in " + this.interval +