RESOLVED - issue SPR-6348: ResourceDatabasePopulator is too verbose when reporting ignored failures
http://jira.springframework.org/browse/SPR-6348
This commit is contained in:
parent
534f8a4705
commit
efb2647978
|
|
@ -155,8 +155,8 @@ public class ResourceDatabasePopulator implements DatabasePopulator {
|
|||
} catch (SQLException ex) {
|
||||
boolean dropStatement = statement.trim().toLowerCase().startsWith("drop");
|
||||
if (continueOnError || (dropStatement && ignoreFailedDrops)) {
|
||||
if (logger.isWarnEnabled()) {
|
||||
logger.warn("Line " + lineNumber + " statement failed: " + statement, ex);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("Line " + lineNumber + " statement failed: " + statement, ex);
|
||||
}
|
||||
} else {
|
||||
throw ex;
|
||||
|
|
|
|||
Loading…
Reference in New Issue