<property name="client-host" expression="get-property('axis2', 'REMOTE_HOST')"/><log level="custom">
<property name="client-add" expression="get-property('axis2', 'REMOTE_ADDR')"/>
<property name="REMOTE_ADDR :" expression="get-property('client-add')"/>
<property name="REMOTE_HOST:" expression="get-property('client-host')"/>
</log>
<property name="REMOTE_HOST:" expression="get-property('client-host')"/>
</log>
Will it work through proxy server as well? Or do we have any X-Forwarded-For property support?
ReplyDeleteWe have x-forwarded-for support.Try like this;
ReplyDelete<log>
<property name="xforward-header" expression="$trp:X-Forwarded-For"/>
</log>