[ 
https://issues.apache.org/jira/browse/CAMEL-20692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839055#comment-17839055
 ] 

Nicolas Filotto edited comment on CAMEL-20692 at 4/19/24 5:03 PM:
------------------------------------------------------------------

Thanks for reporting the issue, I confirm the bug, it is because, in the case 
of the CXF endpoint, the logging size limit is set to 0 by default which is not 
expected/wanted. As a workaround, you can simply set the [query parameter 
{{loggingSizeLimit}}|https://camel.apache.org/components/4.4.x/cxf-component.html#_endpoint_query_option_loggingSizeLimit]
 to a specific value knowing that {{-1}} means no limit


was (Author: JIRAUSER285918):
Thanks for reporting the issue, I confirm the bug, it is because, in the case 
of the CXF endpoint, the logging size limit is set to 0 by default which is not 
expected/wanted. As a workaround, you can simply set the [query parameter 
{{loggingSizeLimit}}|https://camel.apache.org/components/4.4.x/cxf-component.html#_endpoint_query_option_loggingSizeLimit]
 to a specific value

> camel-cxf - No Payload(body) is logged in REQ_IN/RESP_OUT messages when cxf 
> endpoint with loggingFeatureEnabled=true
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-20692
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20692
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 3.22.1
>            Reporter: Xilai Dai
>            Assignee: Nicolas Filotto
>            Priority: Minor
>         Attachments: test-camel-cxf-logging.zip
>
>
> When start a CXF Soap service via endpoint cxf:// with 
> loggingFeatureEnabled=true,
> for instance 
> "cxf://http://127.0.0.1:8020/services/BeanAsService?dataFormat=PAYLOAD ...... 
> &loggingFeatureEnabled=true"
> The REQ_IN and RESP_OUT messages are logged when calling the Soap service.
> But missing the Payload(body) in the messages. (only the 
> ServiceName/PortName/PortTypeName/Headers are logged)
> Attached a demo project can be used to reproduce this issue.
> (while the "cxfrs://" endpoint with loggingFeatureEnabled=true is able to 
> have the Payload logged as expected when calling the service)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to