Jboss EAP 6启用CXF日志
1. 在standalone.xml配置文件中添加system-properties:
<system-properties>
<property name="org.apache.cxf.logging.enabled" value="true"/>
</system-properties>
2. 在logging subsystem中添加:
<subsystem xmlns="urn:jboss:domain:logging:2.0">
...
<logger category="org.apache.cxf">
<level name="INFO"/>
</logger>
...
</subsystem>
3. Web Service代码中添加log feature
@WebService(serviceName = "SOAPService", portName = "SoapPort", endpointInterface = "org.apache.hello_world_async_soap_http.GreeterAsync", targetNamespace = "http://apache.org/hello_world_async_soap_http") @Features(features = "org.apache.cxf.feature.LoggingFeature") public class GreeterImpl implements GreeterAsync { ... }
相关推荐
直须看尽洛城花 2015-05-04
程序员超哥 2014-11-26
ISEESTARS 2012-09-14
newfarhui 2020-01-18
zhangxiaocc 2019-12-06
Adolphlwq 2017-08-10
newfarhui 2019-10-23
neweastsun 2013-12-07
Selier 2014-05-28
蜀川居 2017-10-16
jianghuchuanke 2019-09-05
zhongjcbill 2015-11-30
xiajlxiajl 2015-09-01
industry0 2014-12-08
cloudspring 2014-11-29
bobobocai 2014-07-17
LunaZhang 2012-06-11
89467606 2015-12-25
iPro 2014-05-28