How to log Apache CXF Soap Request and Soap Response using Log4j?

前端 未结 10 1022
谎友^
谎友^ 2020-11-29 19:07

I am using the Apache CXF Framework. Inside my client program, I need to log CXF SOAP Requests and SOAP Responses. When I used



        
10条回答
  •  -上瘾入骨i
    2020-11-29 20:12

    When configuring log4j.properties, putting org.apache.cxf logging level to INFO is enough to see the plain SOAP messages:

    log4j.logger.org.apache.cxf=INFO
    

    DEBUG is too verbose.

提交回复
热议问题