Details
-
New Feature
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Description
Problem: there is no possibility do include same file multiple times with different context variable values.
Solution: provide possibility to pass explicit named parameters to included files. Provided parameters should be visible only in included file and should be separated from parent context.
Example:
<include resource="file-appender-chain.xml"> <param name="filePath" value="main.log" /> <param name="loggerName" value="Main" /> </include> <include resource="file-appender-chain.xml"> <param name="filePath" value="sensitive.log" /> <param name="loggerName" value="SensitiveData" /> </include>
Note that here we include same file but with different parameters.