This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Logback: the generic, reliable, fast and flexible logging framework.".
The branch, master has been updated via a85c31bd64e687260888e5a9567340c084b01c6e (commit) from 60bd9dfb27e27cd509e6a18aa1de80ec6f1379d8 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://git.qos.ch/gitweb/?p=logback.git;a=commit;h=a85c31bd64e687260888e5a9567340c084b01c6e http://github.com/ceki/logback/commit/a85c31bd64e687260888e5a9567340c084b01c6e commit a85c31bd64e687260888e5a9567340c084b01c6e Author: Ceki Gulcu <c...@qos.ch> Date: Wed Mar 31 14:27:13 2010 +0200 - added gradle to the list of projects using logback - edits to manual/configuration.html diff --git a/logback-site/src/site/pages/index.html b/logback-site/src/site/pages/index.html index 86904a4..c675bc3 100644 --- a/logback-site/src/site/pages/index.html +++ b/logback-site/src/site/pages/index.html @@ -69,7 +69,8 @@ <li><a href="http://www.jfrog.org/products.php">Artifactory</a></li> <li><a href="http://cia.sourceforge.net/">Citizen Intelligence Agency</a></li> <li><a href="http://www.geomajas.org/">Geomajas</a></li> - <li><a href="http://jmxmonitor.sourceforge.net/">jmxmonitor</a></li> + <li><a href="http://www.gradle.org/">Gradle</a></li> + <li><a href="http://jmxmonitor.sourceforge.net/">JMX Monitor</a></li> <li><a href="http://code.google.com/p/openmeetings/">OpenMeetings</a></li> </ul> </td> diff --git a/logback-site/src/site/pages/manual/configuration.html b/logback-site/src/site/pages/manual/configuration.html index 914f52e..a1fad9c 100644 --- a/logback-site/src/site/pages/manual/configuration.html +++ b/logback-site/src/site/pages/manual/configuration.html @@ -1417,8 +1417,21 @@ fileName=myApp.log <h3><a name="conditional" href="#conditional">Conditional processing of configuration files</a></h3> - <p>XML syntax is awfully cumbersome to serve as a basis for a - general purpose programming language. Nevertheless, recognizing the + <p>Developers often need to juggle between several logback + configuration files targeting different environments such as + development, testing and production. These configuration files have + substantial parts in common differing only in a few places. To avoid + duplication, logback supports conditional processing of + configuration files with the help of <code><if></code>, + <code><then></code> and <code><else></code> elements so that a + single configuration file can adequately target several + environments. + </p> + +XML syntax is awfully cumbersome to serve as a basis for a + general purpose programming language. Developers often need to juggle between several logback configuration files targeting different environments such as development, testing and production + +Nevertheless, recognizing the fact that developers need to juggle between several configuration files targeting different environments, e.g. development, testing and production. Often the different files have substantial parts in @@ -1497,11 +1510,14 @@ fileName=myApp.log <p>Conditional processing is supported everywhere within the <code><configuration></code> element. Nested if-then-else - statements are also supported. However, as mentioned earlier, XML is - not a good basis for scripting, and too many conditionals can - quickly render your configuration files ungrokable. + statements are also supported. However, XML syntax is awfully + cumbersome and is ill suited as the foundation of a general purpose + programming langiage. Consequently, too many conditionals will + quickly render your configuration files ungrokable to subsequent + readers of your configuration files, including yourself. </p> + <!-- ============================================================== --> diff --git a/logback-site/src/site/pages/reasonsToSwitch.html b/logback-site/src/site/pages/reasonsToSwitch.html index 14e401c..8efa3d5 100644 --- a/logback-site/src/site/pages/reasonsToSwitch.html +++ b/logback-site/src/site/pages/reasonsToSwitch.html @@ -101,15 +101,16 @@ <h3><a name="conditional" href="#conditional">Conditional prcessing of configuration files</a></h3> - <p>Recognizing the fact that developers need to juggle between - several configuration files targeting different environments, - e.g. development, testing and production. Often the different - files have substantial parts in common differing only in a few + <p>Developers often need to juggle between several logback + configuration files targeting different environments such as + development, testing and production. These configuration files + have substantial parts in common differing only in a few places. To avoid duplication, logback supports <a href="manual/configuration.html#conditional">conditional processing of configuration files</a> with the help of <code><if></code>, <code><then></code> and - <code><else></code> elements. + <code><else></code> elements so that a single configuration + file can adequately target several environments. </p> ----------------------------------------------------------------------- Summary of changes: logback-site/src/site/pages/index.html | 3 +- .../src/site/pages/manual/configuration.html | 26 ++++++++++++++++---- logback-site/src/site/pages/reasonsToSwitch.html | 11 ++++---- 3 files changed, 29 insertions(+), 11 deletions(-) hooks/post-receive -- Logback: the generic, reliable, fast and flexible logging framework. _______________________________________________ logback-dev mailing list logback-dev@qos.ch http://qos.ch/mailman/listinfo/logback-dev