Commit 341412d5 authored by Ilayaperumal Gopinathan's avatar Ilayaperumal Gopinathan Committed by Dave Syer

Fix LoggingApplicationListener

- If `logging.config` is set and could open/read the resource
then, return.
  - Currently, it logs warning though the resource is successfully
read.
parent 51196e01
......@@ -185,10 +185,9 @@ public class LoggingApplicationListener implements SmartApplicationListener {
system.initialize(value);
}
catch (Exception ex) {
// Swallow exception and continue
this.logger.warn("Logging environment value '" + value
+ "' cannot be opened and will be ignored");
}
this.logger.warn("Logging environment value '" + value
+ "' cannot be opened and will be ignored");
}
else {
......
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