简体   繁体   English

如何防止cxf日志记录?

[英]How to prevent cxf logging?

I want to disable logging of org.apache.cxf.interceptor.Fault . 我想禁用org.apache.cxf.interceptor.Fault日志记录。 So I found I have to create a folder /META-INF/cxf with file org.apache.cxf.Logger . 所以我发现我必须使用文件org.apache.cxf.Logger创建一个文件夹/META-INF/cxf

BUT what do I have to put in there to set cxf logging level to NONE? 但是我必须在其中放置什么以将cxf日志记录级别设置为NONE?

you may need to comment below code in your cxf configuration xml file. 您可能需要在cxf配置xml文件中的以下代码中添加注释。

    <cxf:bus>
        <cxf:features>
            <cxf:logging/>
        </cxf:features>
    </cxf:bus> 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM