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

http://bugzilla.qos.ch/show_bug.cgi?id=54 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@qos.ch ReportedBy: tomkor@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.

http://bugzilla.qos.ch/show_bug.cgi?id=54 noreply.ceki@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from noreply.ceki@qos.ch 2007-03-19 16:50 ------- Hi Tomek, Yes, I think we need to reverse the order of loading. First, logback-test.xml and than logback.xml. It's a trivial change in the autoConfig method of c.q.lb.classic.util.ContextInitializer class. We also need to update the docs accordingly. -- 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.

http://bugzilla.qos.ch/show_bug.cgi?id=54 noreply.ceki@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #2 from noreply.ceki@qos.ch 2007-04-02 21:09 ------- Fixed in logback 0.9.5 -- 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.
participants (1)
-
bugzilla-daemon@pixie.qos.ch