Issue Type: New Feature New Feature
Assignee: Logback dev list
Created: 28/Sep/15 7:01 PM
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.

Project: logback
Labels: configuration substitution variable
Priority: Major Major
Reporter: Alexei Osipov
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira