Hi Verhagen
For log level "headers", it should log all {header name, value} pairs
with any custom properties. Could you please set the log level to
"full"? It will log the complete envelope and we can determine where the
issue is.
You can access remote party ip and domain name using XPath function
IP
get-property('axi2, 'REMOTE_ADDR') or $axis2: REMOTE_ADDR
Domain name
get-property('axi2, 'REMOTE_HOST') or $axis2: REMOTE_HOST
If you want to log , just add a property as
<property name="RemoteIP" expression="get-property('axi2,
'REMOTE_ADDR')" />
Thanks
Indika
Harm Verhagen wrote:
LS,
I checked the log mediator documentation.
I've 2 questions on the log mediator.
1) how to use log level 'headers ?
When I select loglevel "headers" I'm seeing nothing logged from the
soap headers.
When I have the following in my synapse.xml
<syn:log level="headers" separator=",">
<syn:property name="text" value="XXXXXX"/>
</syn:log>
I only the the text value my services.log (and in the esb log),
nothing from the soap headers.
2008-09-23 16:40:16,836 [127.0.0.1-vloeki_v01] [HttpServerWorker-19]
INFO messageDelivery text = XXXXXX
what am I missing ?
2) How can I log the originating IP addres with the log mediator ?
Regards,
Harm Verhagen
------------------------------------------------------------------------
_______________________________________________
Esb-java-user mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.7.0/1685 - Release Date: 9/22/2008 4:08 PM
_______________________________________________
Esb-java-user mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user