Hi Ceki, This feature was in log4j, and it allow me to publish tool that allow end user do this:
java -Dlog4jconfiguration=custom1.xml -jar mytool.jar java -Dlog4jconfiguration=custom2.xml -jar mytool.jar java -Dlog4jconfiguration=custom3.xml -jar mytool.jar how would I do this in logback? -Z On 10/13/07, Ceki Gulcu <[EMAIL PROTECTED]> wrote: > Hello, > > No, it is not currently possible to specify the name of the configuration file > through a system property. Could you please describe your use case? > > Cheers, > > thebugslayer wrote: > > Hi, > > > > I read http://logback.qos.ch/manual/joran.html, it's only checking > > classpath for config logback.xml file. Is there a way to specify file > > location by System properties? > > > > Thanks, > > -- > Ceki Gülcü > Logback: The reliable, generic, fast and flexible logging framework for Java. > http://logback.qos.ch > _______________________________________________ > Logback-user mailing list > [email protected] > http://qos.ch/mailman/listinfo/logback-user > -- theBUGslayer _______________________________________________ Logback-user mailing list [email protected] http://qos.ch/mailman/listinfo/logback-user
