[logback-user] Externalized Logback configuration for web applications

Richard Sand rsand at idfoundry.com
Thu Jan 31 20:40:09 CET 2013


Is it possible to grab the value of the filename from the context of the web
application itself, e.g. a <context-param> inside the web.xml? Idea here is
that this can be overridden by a context.xml at deployment time, to
externalize the filename without disturbing the web application archive, and
without needing JNDI.

e.g. so:

<include file="/opt/logback-A.xml"> 

becomes:

<include file="${some-value-from-deployment-descriptor}"> 

Thanks!

Best regards,

Richard



--
View this message in context: http://logback.10977.n7.nabble.com/Externalized-Logback-configuration-for-web-applications-tp3629p11387.html
Sent from the Users mailing list archive at Nabble.com.


More information about the Logback-user mailing list