fixed logging bug

Former-commit-id: 41a3727c279f804ce4691f5d9ab1ce91310beae8
This commit is contained in:
Jeremy Long
2013-05-13 12:11:22 -04:00
parent e295bae27a
commit f1d76ecace

View File

@@ -250,9 +250,9 @@ public class Engine {
source.update();
} catch (UpdateException ex) {
Logger.getLogger(Engine.class.getName()).log(Level.WARNING,
"Unable to update {0}", source.getClass().getName());
"Unable to update Cached Web DataSource, using local data instead. Results may not include recent vulnerabilities.");
Logger.getLogger(Engine.class.getName()).log(Level.INFO,
String.format("Unable to update details for {0}",
String.format("Unable to update details for %s",
source.getClass().getName()), ex);
}
}