Author: supun Date: Tue Jun 30 22:36:11 2009 New Revision: 40462 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=40462
Log: updating the log mediator guide Modified: trunk/esb/java/docs/xdoc/mediators/log.xml Modified: trunk/esb/java/docs/xdoc/mediators/log.xml URL: http://wso2.org/svn/browse/wso2/trunk/esb/java/docs/xdoc/mediators/log.xml?rev=40462&r1=40461&r2=40462&view=diff ============================================================================== --- trunk/esb/java/docs/xdoc/mediators/log.xml (original) +++ trunk/esb/java/docs/xdoc/mediators/log.xml Tue Jun 30 22:36:11 2009 @@ -94,8 +94,17 @@ <li>Action: Delete the property </li> </ul> -<h3>Usage Scenario</h3> +<h3>Example</h3> +<pre xml:space="preserve"> <log level="custom" xmlns="http://ws.apache.org/ns/synapse"> + <property name="text" + expression="fn:concat('Stock price - ',get-property('stock_price'))"/> + </log></pre> -<p></p> +<p>In this example log level is set to custom. It logs the property stock_price +that is set previously in the message mediation.</p> +<pre xml:space="preserve"> + <log level="full" xmlns="http://ws.apache.org/ns/synapse"/></pre> + +<p>In the previous example it logs evething including the full SOAP message.</p> </body> </html> _______________________________________________ Esb-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
