Polish SpringBootJoranConfigurator
Closes gh-14845
This commit is contained in:
committed by
Phillip Webb
parent
f986a30d2c
commit
c078d0cb8a
@@ -45,7 +45,7 @@ class SpringBootJoranConfigurator extends JoranConfigurator {
|
||||
rs.addRule(new ElementSelector("configuration/springProperty"),
|
||||
new SpringPropertyAction(environment));
|
||||
rs.addRule(new ElementSelector("*/springProfile"),
|
||||
new SpringProfileAction(this.initializationContext.getEnvironment()));
|
||||
new SpringProfileAction(environment));
|
||||
rs.addRule(new ElementSelector("*/springProfile/*"), new NOPAction());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user