1

I want to disable logging of org.apache.cxf.interceptor.Fault. So I found I have to create a folder /META-INF/cxf with file org.apache.cxf.Logger.

BUT what do I have to put in there to set cxf logging level to NONE?

membersound
  • 81,582
  • 193
  • 585
  • 1,120

1 Answers1

0

you may need to comment below code in your cxf configuration xml file.

    <cxf:bus>
        <cxf:features>
            <cxf:logging/>
        </cxf:features>
    </cxf:bus> 
Chandra Sekhar
  • 16,256
  • 10
  • 67
  • 90
  • Ok, but what do I have to set the content of the Logger file?? – membersound Dec 11 '12 at 09:15
  • Logger file?, If you are creating new Logger file, it's not needed, if it's existing one please show the code. check these threads: [Turn Off Apache Common Logging](http://stackoverflow.com/questions/1436761/turn-off-apache-common-logging), [how to disable CXF logging](http://cxf.547215.n5.nabble.com/how-to-disable-CXF-logging-td3230531.html) – Chandra Sekhar Dec 11 '12 at 10:09
  • No I have no existing one. And setting the system property did not work either. – membersound Dec 11 '12 at 10:59