[logback-dev] logback-test.groovy

Roman Ivanov ivanov-jr at mail.ru
Tue Mar 15 17:18:57 UTC 2016


 Hi Logback team,

yes it is already by design that there is No separation of main vs test logback configuration - http://logback.qos.ch/manual/groovy.html#ConditionalConfiguration 

But unfortunately this is a blocker feature for our team to switch to groovy from xml.
XML model with logback-test.xml let developers be crazy with extending logs(appenders, custom loggers, custom ... ) for testing and be absolutely secure that it does not effect 
production mode.
As changes in logback.xml file is kind red flag for detailed code review of code changes.

Usage of special system/environment variables is not good too as it is additional argument for simple "mvn test", nobody wants additional complications for command line executions (manual, jenknis, .... ).

please share a link where you describe a reason why "logback-test.groovy" is bad design. 

Can you reconsider your decision for "logback-test.groovy" ?

thanks a lot,
Roman Ivanov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-dev/attachments/20160315/f0b5cc65/attachment.html>


More information about the logback-dev mailing list