Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Cameo
cameo
Commits
61cb956e
Commit
61cb956e
authored
Jan 11, 2022
by
legoc
Browse files
Removed log errors in ConfigLoader
parent
ca4ce482
Changes
1
Hide whitespace changes
Inline
Side-by-side
cameo-server/src/main/java/fr/ill/ics/cameo/manager/ConfigLoader.java
View file @
61cb956e
...
...
@@ -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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment