<sequence xmlns="http://ws.apache.org/ns/synapse" name="debug_in_flow">
    <log level="full">
        <property name="IN_MESSAGE" value="IN_MESSAGE"/>
    </log>

    <property name="msgID" expression="get-property('MessageID')"/>

    <log level="custom">
        <property name="Host" expression="get-property('transport', 'Host')"/>
        <property name="Context" expression="get-property('To')"/>
        <property name="Http_Method" expression="get-property('axis2', 'HTTP_METHOD')"/>
        <property name="Resource" expression="get-property('axis2', 'REST_URL_POSTFIX')"/>
        <property name="Origin" expression="get-property('transport', 'Origin')"/>
        <property name="Content-Type" expression="get-property('transport', 'Content-Type')"/>
        <property name="Message_Id" expression="get-property('msgID')"/>
    </log>
</sequence>