
Hello Anders, If you don't have a J2EE container, using a context selector is a major overkill. If you tell us that it would not be possible to package a different copy of logback.xml in each standalone application, then we will add the functionality you requested, i.e. specifying the configuration file through a system property. (I am not very fond of this feature, but if you really need it, we'll be happy to oblige.) After you have ascertained that packaging a distinct copy of logback.xml in each application is not an option, could you please you file a bug/enhancement report? At 01:30 AM 3/13/2007, Anders Wallgren wrote:
We're not running inside a J2EE container, rather this is a set of standalone applications launched out of the same classpath.
As it stands, I don't think ContextSelector will help, unless there's some custom implementation of that interface that I could put together to do the right thing. I'm not yet familiar enough with logback to answer that myself, so your input is appreciated.
anders
-- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch