[logback-dev] [Bug 54] New: logback-test.xml enhancement

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Mon Mar 19 12:09:05 CET 2007


           Summary: logback-test.xml enhancement
           Product: logback-general
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: build-structure
        AssignedTo: logback-dev at qos.ch
        ReportedBy: tomkor at gmail.com

Currently logback looks for two different default config files. First:
logback.xml followed by logback-test.xml. The idea of a seperate test config
file is very appealing. Espcially with Maven2 projects where you can seperate
your production and test resources into their own directories. 

It would be a real productive gain if logback could somehow pick which logback
file to use. Test config file when developing and running test cases, or the
main file when used in production.

Effectively it would swap the file order for checking for default files. First
use logback-test.xml then logback.xml. With Maven you have a rather strong
guarantee that your test config file won't be included together with your
production code.

Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the logback-dev mailing list