RESOLVED - issue SPR-6348: ResourceDatabasePopulator is too verbose when reporting ignored failures

http://jira.springframework.org/browse/SPR-6348
This commit is contained in:
David Syer 2009-11-14 09:04:24 +00:00
parent 534f8a4705
commit efb2647978
1 changed files with 2 additions and 2 deletions

View File

@ -155,8 +155,8 @@ public class ResourceDatabasePopulator implements DatabasePopulator {
} catch (SQLException ex) { } catch (SQLException ex) {
boolean dropStatement = statement.trim().toLowerCase().startsWith("drop"); boolean dropStatement = statement.trim().toLowerCase().startsWith("drop");
if (continueOnError || (dropStatement && ignoreFailedDrops)) { if (continueOnError || (dropStatement && ignoreFailedDrops)) {
if (logger.isWarnEnabled()) { if (logger.isDebugEnabled()) {
logger.warn("Line " + lineNumber + " statement failed: " + statement, ex); logger.debug("Line " + lineNumber + " statement failed: " + statement, ex);
} }
} else { } else {
throw ex; throw ex;