Commit 61cb956e authored by legoc's avatar legoc
Browse files

Removed log errors in ConfigLoader

parent ca4ce482
......@@ -163,8 +163,6 @@ public abstract class ConfigLoader {
ConfigManager.getInstance().setLogPath(root.getAttributeValue(LOG_DIRECTORY));
ConfigManager.getInstance().setLogLevel(root.getAttributeValue(LOG_LEVEL));
// Sleep time.
int sleepTime = 5;
String sleepTimeString = root.getAttributeValue(SLEEP_TIME);
......@@ -183,7 +181,6 @@ public abstract class ConfigLoader {
pollingTime = Integer.parseInt(pollingTimeString);
} catch (NumberFormatException e) {
// Set default value
Log.logger().severe("Error while parsing '" + POLLING_TIME + "'");
}
ConfigManager.getInstance().setPollingTime(pollingTime);
......@@ -242,7 +239,6 @@ public abstract class ConfigLoader {
// Start command
Element startItem = item.getChild(START);
if (startItem == null) {
Log.logger().severe("Application node must contain a '" + START + "' node");
continue;
}
application.setStartExecutable(startItem.getAttributeValue(EXECUTABLE));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment