Don't modify the CXF jar file. Just add a file at that path to your
classpath. That should do it.

For logging of messages:

http://cwiki.apache.org/CXF20DOC/debugging.html has an explanation.
The interceptors log all of the messages when enabled.


On Wed, Sep 17, 2008 at 6:10 PM, Hans Loeblich
<[EMAIL PROTECTED]> wrote:
> I have two issues currently related to logging.
>
> First I would like to be able to log the SOAP request that is being generated 
> on the client side.  I just have no what class I would need to add a logging 
> statement to, or if anything like this can be setup through configuration 
> files, etc.
>
> My second issue is that I would like to use log4j for logging.  I tried 
> following the instructions from this page:
> http://www.techper.net/2008/01/30/configuring-cxf-logging-to-go-through-log4j/
>
> I inserted META-INF/cxf/org.apache.cxf.Logger into my cxf-2.1.2.jar file, 
> with just a single line in the file containing the text 
> "org.apache.cxf.common.logging.Log4jLogger".  But it did not seem to make any 
> difference.  Am I doing something wrong here?
>
> Thank you,
> Hans Loeblich
>

Reply via email to