On Tue, Jul 26, 2011 at 4:30 PM, Supun Kamburugamuva <supu...@gmail.com>wrote:

> Hi Piyum,
>
> The syntax should be
>
> <log message="string | {expression}"/>
>

I will make the changes soon.

>
> Please have a look at the mediators like send for how this is done.
>
ok Sure.

>
> Thanks,
> Supun..
>
> On Tue, Jul 26, 2011 at 3:43 PM, Piyum Fernando <pi...@wso2.com> wrote:
>
>> I made some changes to LogMediator, LogMediatorFactory and
>> LogMediatorSerializer by adding the quick log feature which allows to add
>> quickly log a literal  or expression. Patch file is attached.
>>
>> Examples;
>>
>> <log value = 'value' />
>>
>> <log expression = "XPath expression" />
>>
>> <log [(value="literal" | expression="xpath")] [level="string"] 
>> [separator="string"]>
>>
>>
>>    <property name="string" (value="literal" | expression="xpath")/>*
>>  </log>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org
>> For additional commands, e-mail: dev-h...@synapse.apache.org
>>
>
>
>
> --
> Supun Kamburugamuva
> Technical Lead &  Product Manager, WSO2 Inc.; http://wso2.com
> Member, Apache Software Foundation; http://www.apache.org
> WSO2 Inc.;  http://wso2.org
> E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
> Blog: http://supunk.blogspot.com
>
>
>
>

Reply via email to