You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@synapse.apache.org by kimhorn <ki...@icsglobal.net> on 2009/05/04 06:27:23 UTC

Log Lists seperator issue ?

There is no example using log seperator. however default is ","; but not sure
that they work as expected.

<reportIds>
<ns1:string>31082</ns1:string>
<ns1:string>31087</ns1:string>
<ns1:string>31088</ns1:string>
<ns1:string>31089</ns1:string>
<ns1:string>31090</ns1:string>
<ns1:string>31091</ns1:string>
</reportIds>

Searching the above fragment with:

<log level="custom">
	    <property
xmlns:ns1="http://ws1.thelma.icsglobal.net"xmlns:ns2="http://impl.ws1.thelma.icsglobal.net"
name="LIST-REPORTS" expression=
"//ns1:listReportsResponse/ns1:out/ns2:reportIds/ns1:string"/>
</log>

Results IN:

14:17:42,953 [-] [HttpClientWorker-1]  INFO LogMediator LIST-REPORTS =
310823108731088310893109031091

the above log element is pretty useless, needs seperator.

I would have expected a seperator to be inserted into the list elements
before it is made into the log string ?
Strange; what is the log seperator for then ?

Using XPAth 2.0 it is easy to fix this; but no idea in limited XPath Jason
functions in Synapse.

Any Ideas - must be a common issue ?

Thanks
Kim





-- 
View this message in context: http://www.nabble.com/Log-Lists-seperator-issue---tp23362929p23362929.html
Sent from the Synapse - User mailing list archive at Nabble.com.