changed logging level when logging update exceptions

Former-commit-id: 4608aad994437e1ebffff2dbb2d97dafdf138ab5
This commit is contained in:
Jeremy Long
2013-04-23 21:35:23 -04:00
parent 536f373b91
commit d71c6f055b

View File

@@ -232,14 +232,14 @@ public class Engine {
try {
a.close();
} catch (Exception ex) {
Logger.getLogger(Engine.class.getName()).log(Level.SEVERE, null, ex);
Logger.getLogger(Engine.class.getName()).log(Level.WARNING, null, ex);
}
}
}
}
/**
*
* Cycles through the cached web data sources and calls update on all of them.
*/
private void doUpdates() {
final UpdateService service = UpdateService.getInstance();
@@ -249,7 +249,7 @@ public class Engine {
try {
source.update();
} catch (UpdateException ex) {
Logger.getLogger(Engine.class.getName()).log(Level.SEVERE,
Logger.getLogger(Engine.class.getName()).log(Level.WARNING,
"Unable to update " + source.getClass().getName(), ex);
}
}