
Within the include element, the filename attribute can contain variables. See line 149, 154, and 159 in getInputStream(InterpretationContext, Attributes) method of in IncludeAction class: http://logback.qos.ch/xref/ch/qos/logback/core/joran/action/IncludeAction.ht... Thorbjørn Ravn Andersen wrote:
Ryan Cornia skrev:
I didn't quite understand why you needed ContextJNDISelector.
I would like to have all web apps use the same configuration file that is kept outside of the war. Maybe ContextJNDISelector isn't what is needed?
Could you use the include functionality to get a file in the filesystem?
http://logback.qos.ch/manual/joran.html#fileInclusion
I cannot see right now, if the filename string can contain ${foo.bar} replacements to put in variable information?
-- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch