[logback-user] Groovy configuration includes

Charlie Pai cpai at factset.com
Mon Dec 14 23:43:28 UTC 2015


Is there any way for groovy configuration to do something like <include file="logback-parent.xml" /> with current logback functionality?

I noticed that http://jira.qos.ch/browse/LOGBACK-1002 says that there isn't something like that at the moment, and the pull request for it is still open (https://github.com/qos-ch/logback/pull/257).

We need to have different runtime configurations of logback depending on the environment, especially for production. If logback.groovy is inside the jar then any potential issues with logback that might arise in production can't be fixed quickly without messing with the jar, so this issue is blocking us from migrating to groovy away from xml.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20151214/b7193d34/attachment.html>

More information about the logback-user mailing list