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.
This commit is contained in:
parent
51196e01d5
commit
341412d5b5
|
|
@ -185,11 +185,10 @@ 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");
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
system.initialize();
|
||||
|
|
|
|||
Loading…
Reference in New Issue