You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2013/12/02 12:20:00 UTC

svn commit: r888787 - in /websites/production/camel/content: book-in-one-page.html book-pattern-appendix.html cache/main.pageCache logeip.html

Author: buildbot
Date: Mon Dec  2 11:20:00 2013
New Revision: 888787

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/book-pattern-appendix.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/logeip.html

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Mon Dec  2 11:20:00 2013
@@ -21629,6 +21629,13 @@ from("direct:start").log(LoggingLevel.DE
 ]]></script>
 </div></div>
 
+<p>and to set a logger name</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+from("direct:start").log(LoggingLevel.DEBUG, "com.mycompany.MyCoolRoute", "Processing ${id}").to("bean:foo");
+]]></script>
+</div></div>
+
 <p>For example you can use this to log the file name being processed if you consume files.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
@@ -21653,7 +21660,7 @@ from("file://target/files").log(LoggingL
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
         &lt;route id="baz"&gt;
             &lt;from uri="direct:baz"/&gt;
-            &lt;log message="Me Got ${body}" loggingLevel="FATAL" logName="cool"/&gt;
+            &lt;log message="Me Got ${body}" loggingLevel="FATAL" logName="com.mycompany.MyCoolRoute"/&gt;
             &lt;to uri="mock:baz"/&gt;
         &lt;/route&gt;
 ]]></script>
@@ -21667,7 +21674,7 @@ from("file://target/files").log(LoggingL
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
         &lt;route id="baz"&gt;
             &lt;from uri="direct:baz"/&gt;
-            &lt;log message="Me Got ${body}" loggingLevel="FATAL" logName="cool" marker="myMarker"/&gt;
+            &lt;log message="Me Got ${body}" loggingLevel="FATAL" logName="com.mycompany.MyCoolRoute" marker="myMarker"/&gt;
             &lt;to uri="mock:baz"/&gt;
         &lt;/route&gt;
 ]]></script>

Modified: websites/production/camel/content/book-pattern-appendix.html
==============================================================================
--- websites/production/camel/content/book-pattern-appendix.html (original)
+++ websites/production/camel/content/book-pattern-appendix.html Mon Dec  2 11:20:00 2013
@@ -6491,6 +6491,13 @@ from("direct:start").log(LoggingLevel.DE
 ]]></script>
 </div></div>
 
+<p>and to set a logger name</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+from("direct:start").log(LoggingLevel.DEBUG, "com.mycompany.MyCoolRoute", "Processing ${id}").to("bean:foo");
+]]></script>
+</div></div>
+
 <p>For example you can use this to log the file name being processed if you consume files.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
@@ -6515,7 +6522,7 @@ from("file://target/files").log(LoggingL
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
         &lt;route id="baz"&gt;
             &lt;from uri="direct:baz"/&gt;
-            &lt;log message="Me Got ${body}" loggingLevel="FATAL" logName="cool"/&gt;
+            &lt;log message="Me Got ${body}" loggingLevel="FATAL" logName="com.mycompany.MyCoolRoute"/&gt;
             &lt;to uri="mock:baz"/&gt;
         &lt;/route&gt;
 ]]></script>
@@ -6529,7 +6536,7 @@ from("file://target/files").log(LoggingL
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
         &lt;route id="baz"&gt;
             &lt;from uri="direct:baz"/&gt;
-            &lt;log message="Me Got ${body}" loggingLevel="FATAL" logName="cool" marker="myMarker"/&gt;
+            &lt;log message="Me Got ${body}" loggingLevel="FATAL" logName="com.mycompany.MyCoolRoute" marker="myMarker"/&gt;
             &lt;to uri="mock:baz"/&gt;
         &lt;/route&gt;
 ]]></script>

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/logeip.html
==============================================================================
--- websites/production/camel/content/logeip.html (original)
+++ websites/production/camel/content/logeip.html Mon Dec  2 11:20:00 2013
@@ -118,6 +118,13 @@ from("direct:start").log(LoggingLevel.DE
 ]]></script>
 </div></div>
 
+<p>and to set a logger name</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+from("direct:start").log(LoggingLevel.DEBUG, "com.mycompany.MyCoolRoute", "Processing ${id}").to("bean:foo");
+]]></script>
+</div></div>
+
 <p>For example you can use this to log the file name being processed if you consume files.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
@@ -142,7 +149,7 @@ from("file://target/files").log(LoggingL
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
         &lt;route id="baz"&gt;
             &lt;from uri="direct:baz"/&gt;
-            &lt;log message="Me Got ${body}" loggingLevel="FATAL" logName="cool"/&gt;
+            &lt;log message="Me Got ${body}" loggingLevel="FATAL" logName="com.mycompany.MyCoolRoute"/&gt;
             &lt;to uri="mock:baz"/&gt;
         &lt;/route&gt;
 ]]></script>
@@ -156,7 +163,7 @@ from("file://target/files").log(LoggingL
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
         &lt;route id="baz"&gt;
             &lt;from uri="direct:baz"/&gt;
-            &lt;log message="Me Got ${body}" loggingLevel="FATAL" logName="cool" marker="myMarker"/&gt;
+            &lt;log message="Me Got ${body}" loggingLevel="FATAL" logName="com.mycompany.MyCoolRoute" marker="myMarker"/&gt;
             &lt;to uri="mock:baz"/&gt;
         &lt;/route&gt;
 ]]></script>