[logback-dev] [GIT] Logback: the generic, reliable, fast and flexible logging framework. branch, master, updated. v_0.9.25-45-gcf96aaf

added by portage for gitosis-gentoo git-noreply at pixie.qos.ch
Fri Dec 17 18:49:42 CET 2010


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  cf96aaf8191b6312ed715c1f4729986205f8645f (commit)
      from  41c1e10c305e5a34005c3ccabbc2e35a46faf2e8 (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=cf96aaf8191b6312ed715c1f4729986205f8645f
http://github.com/ceki/logback/commit/cf96aaf8191b6312ed715c1f4729986205f8645f

commit cf96aaf8191b6312ed715c1f4729986205f8645f
Author: Ceki Gulcu <ceki at qos.ch>
Date:   Fri Dec 17 18:49:55 2010 +0100

    doc improvements

diff --git a/logback-site/src/site/pages/recipes/emailPerTransaction.html b/logback-site/src/site/pages/recipes/emailPerTransaction.html
index 89e275d..87a7861 100644
--- a/logback-site/src/site/pages/recipes/emailPerTransaction.html
+++ b/logback-site/src/site/pages/recipes/emailPerTransaction.html
@@ -26,18 +26,18 @@
       
       <p>Let Dave and Carol be software QA engineers working at a
       company called Fooware.com. As you might have guessed,
-      Fooware.com sells foos. Yes, foos. Let <em>Buscrit</em> be a
-      business critical back-end system running at
-      Fooware.com. Buscrit is called by a number of applications to
-      make business-critical transactions of various types.
+      Fooware.com sells foos. Yes, foos... Let <em>Buscrit</em> be a
+      business critical backend system running at Fooware.com. Buscrit
+      is called by a number of applications to make business-critical
+      transactions of various types.
       </p>
 
       <p>We would like to allow Carol to access the logging data
-      generated by Buscrit as conveniently as possible. Carol could
-      access the log files directly on the server where Buscrit
-      runs. Let us assume that accessing the log files is somehow
-      impractical because one or ore more of the following conditions
-      holds true:
+      generated by Buscrit as conveniently as possible. We could
+      assume that Carol has access the log files directly on the
+      server where Buscrit runs. However, let us assume that accessing
+      the log files is somehow impractical because one or ore more of
+      the following conditions holds true:
       </p>
 
       <ol>
@@ -48,7 +48,7 @@
         hosts where Byscrit runs
         </li>
         <li>Buscrit is tested by multiple testers, e.g. Dave and Carol
-        and others, simultanesouly so that it is hard to indetify and
+        and others, simultanesouly so that it is hard to identify and
         track an individual transaction in the log files
         </li>
       </ol>
@@ -112,19 +112,19 @@ public class PrimeAction extends Action {
       <p>In a real world application, a transaction would involve
       systems external to the application, e.g. a database or a
       messaging queue. For the sake of this example, let us consider
-      each factorization request as a <em>transaciton</em>.  At the
+      each factorization request as a <em>transaction</em>.  At the
       end of each factorization request, i.e. each transaction, the
       logger of the <code>PrimeAction</code> instance is invoked with
       the SMTP_TRIGGER marker and the message "Prime computation
       ended".  We can capitalize on this logging request to clearly
       identify the end of every transaction in order to trigger an
-      outgoing message.
+      outgoing email message.
      </p>
 
      <p>Here is a configuration file which uses
      <code>JaninoEventEvaluator</code> to trigger an outgoing email
      for logging event marked with SMTP_TRIGGER.
-     </p>
+     </p> 
 
     <pre class="prettyprint
      source">&lt;configuration scan="true" scanPeriod="3 seconds">
@@ -134,8 +134,8 @@ public class PrimeAction extends Action {
 
   &lt;appender name="SMTP" class="ch.qos.logback.classic.net.SMTPAppender">
     &lt;SMTPHost>NAME_OF_SMTP_HOST&lt;/SMTPHost>
-    &lt;To>...&lt;/To>
-    &lt;From>...&lt;/From>
+    &lt;to>...&lt;/to>                                         
+    &lt;from>...&lt;/from>
     &lt;layout class="ch.qos.logback.classic.html.HTMLLayout">
       &lt;pattern>%date%level%logger{24}%msg&lt;/pattern>
     &lt;/layout>
@@ -157,7 +157,8 @@ public class PrimeAction extends Action {
       
       <h3>Transaction isolation</h3>
 
-
+      <p>
+      </p>
 
 
   <pre class="prettyprint source">&lt;configuration scan="true" scanPeriod="3 seconds">
diff --git a/logback-site/src/site/pages/recipes/index.html b/logback-site/src/site/pages/recipes/index.html
index 84dc02b..8c5f5a1 100644
--- a/logback-site/src/site/pages/recipes/index.html
+++ b/logback-site/src/site/pages/recipes/index.html
@@ -26,9 +26,9 @@
         real-world use cases:</p>
 
         <ul>
-          <li><p><a href="emailPerTransaction.html">send an email per
-          transaction but only for certain users</a></p></li>
-        </ul>
+          <li><p><a href="emailPerTransaction.html">Triggering an
+        email containing the isoloated logs of selected
+        transactions</a></p></li> </ul>
 
 
         <ul>

-----------------------------------------------------------------------

Summary of changes:
 .../site/pages/recipes/emailPerTransaction.html    |   33 ++++++++++---------
 logback-site/src/site/pages/recipes/index.html     |    6 ++--
 2 files changed, 20 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
Logback: the generic, reliable, fast and flexible logging framework.


More information about the logback-dev mailing list