Commit 34a0d1b3 authored by David Feliot's avatar David Feliot
Browse files

JORAM-197: WARN replaced with INFO.

parent db5e473b
......@@ -1183,7 +1183,7 @@ public final class AgentServer {
// TODO (AF): Is it used ? During Mediation deployment ?
a3config = A3CMLConfig.getConfig(DEFAULT_SER_CFG_FILE);
} catch (Exception exc) {
logmon.log(BasicLevel.WARN, getName() + ", serialized a3cmlconfig not found", exc);
logmon.log(BasicLevel.INFO, getName() + ", serialized a3cmlconfig not found", exc);
}
if (a3config == null) {
......
......@@ -738,7 +738,7 @@ public class A3CMLConfig implements Serializable {
try {
classLoader = A3CMLConfig.class.getClassLoader();
if (classLoader != null) {
Log.logger.log(BasicLevel.WARN,
Log.logger.log(BasicLevel.INFO,
"Trying to find [" + path + "] using " +
classLoader + " class loader.");
is = classLoader.getResourceAsStream(path);
......@@ -751,7 +751,7 @@ public class A3CMLConfig implements Serializable {
}
if (is == null) {
// Last ditch attempt: get the resource from the system class path.
Log.logger.log(BasicLevel.WARN,
Log.logger.log(BasicLevel.INFO,
"Trying to find serialized config using ClassLoader.getSystemResource().");
is = ClassLoader.getSystemResourceAsStream(path);
}
......@@ -761,7 +761,7 @@ public class A3CMLConfig implements Serializable {
}
if (a3config == null) {
Log.logger.log(BasicLevel.WARN,
Log.logger.log(BasicLevel.INFO,
"Unable to find configuration file: " + path);
throw new IOException("Unable to find configuration file: " + path);
}
......
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