diff --git a/src/it/check-failThreshold/verify.groovy b/src/it/check-failThreshold/verify.groovy index cc50632c..00cab90b 100644 --- a/src/it/check-failThreshold/verify.groovy +++ b/src/it/check-failThreshold/verify.groovy @@ -15,5 +15,5 @@ */ File buildLog = new File( basedir, 'build.log' ) -assert buildLog.text.contains( '[WARNING] Medium: Unused public or protected field:' ) +assert buildLog.text.contains( '[INFO] Medium: Unused public or protected field:' ) assert buildLog.text.contains( '[ERROR] High: Found reliance on default encoding in UserMistakes' ) diff --git a/src/main/groovy/org/codehaus/mojo/spotbugs/SpotbugsViolationCheckMojo.groovy b/src/main/groovy/org/codehaus/mojo/spotbugs/SpotbugsViolationCheckMojo.groovy index bc97b2b6..197f1246 100644 --- a/src/main/groovy/org/codehaus/mojo/spotbugs/SpotbugsViolationCheckMojo.groovy +++ b/src/main/groovy/org/codehaus/mojo/spotbugs/SpotbugsViolationCheckMojo.groovy @@ -548,7 +548,7 @@ class SpotbugsViolationCheckMojo extends AbstractMojo { bugCountAboveThreshold += 1 log.error(logMsg) } else { - log.warn(logMsg) + log.info(logMsg) } }