Well... we just had to revert the Logback configuration of six of our applications from Groovy to XML because that was the only chance to prevent the tests from sending log events to the production backend.
Given that each and every one of those applications had a src/test/resources/logback-test.xml (an in-house coding guideline regarding applications) which was ignored entirely I'd argue that POLA was violated and that this functionality was indeed needed.
We simply won't be able to use a logback.groovy configuration in the presence of integration tests because of this shortcoming. Which is a shame.
|