1 Reply Latest reply on May 19, 2013 7:59 PM by ffang

    Disable CXF logging in Jboss Fuse

    gsehgal1

      We are using  cxf inside Jboss fuse for REST. Though it keeps printing out the payload information on the JBoss console; it seems to be because of the LoggingInterceptor. Is there a way we can disable the Logging
      Interceptor both IN and OUT so nothing gets printed to the console.

       

      Cheers!

      Gaurav

        • 1. Re: Disable CXF logging in Jboss Fuse
          ffang

          Hi,

           

          The LoggingInterceptor isn't added by default for your endpoint, so if the log is from the LoggingInterceptor, it must be added by yourself

          somewhere, it could be LoggingInterceptor or LoggingFeautre, you can remove it yourself where you added them.

           

          Another way is that you can edit etc/org.ops4j.pax.logging.cfg

           

          add something like

          log4j.category.org.apahce.cxf=some_high_log_level

          so that you won't see the INFO log from cxf code.

           

          Freeman