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.

3 comments:

  1. Hi Kaan,

    Very good idea to remember this useful but little-known functionality.
    Please note that conditional processing requires the Janino library as explained here:

    http://logback.qos.ch/setup.html#janino

    Cheers,

    Domenico

    ReplyDelete
  2. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. temperature chamber,

    ReplyDelete
  3. Ya think studying to write an essay is not hard? Reconsider that thought! Essay writing seriously isn't as fundamental as it could first appear and so this information presents a number of the main theories and alludes to some of the key problems that you'll often times experience. belltestchamber.com

    ReplyDelete