Thursday, July 28, 2011

Environment specific logback configuration

Here is an example for an environment specific logback configuration. Unless there is an environment variable with a value of "prd" or "stg", log level is set to debug; otherwise it is set to warn.