Commit 2c7ec2a8 authored by afreyssin's avatar afreyssin
Browse files

Fix logging messages during AgentServer startup (see JORAM-197)

parent 094326ba
......@@ -1198,10 +1198,10 @@ public final class AgentServer {
if ((a3config == null) && (defaultConfig != null)) {
// Try to parse default XML configuration.
try {
logmon.log(BasicLevel.FATAL, defaultConfig);
logmon.log(BasicLevel.WARN, "Start AgentServer with configuration: \n" + defaultConfig);
a3config = A3CML.getConfig(new StringReader(defaultConfig));
} catch (Exception exc) {
logmon.log(BasicLevel.WARN, getName() + ", bad default XML configuration", exc);
logmon.log(BasicLevel.ERROR, getName() + ", bad default XML configuration", exc);
}
}
......
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