CXF 웹 사이트의 지침에 따라 SOAP 요청 로깅을 활성화했지만 내 로그에서 로깅을 볼 수 없습니다. 나는 log4j를 가지고 있으므로, -Dorg.apache.cxf.Logger = org.apache.cxf.common.logging.Log4jLogger를 Tomcat의 jvm args에 추가했다. 그리고 나서 cxf.xml을 생성하고 classpath에 넣었다. log4j 설정에 logger를 추가했습니다. 아무 것도 기록되지 않습니다. 무엇이 문제입니까?Apache CXF 생성 클라이언트에서 로깅 사용
cxf.xml:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cxf="http://cxf.apache.org/core"
xsi:schemaLocation="
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<cxf:bus>
<cxf:features>
<cxf:logging/>
</cxf:features>
</cxf:bus>
</beans>