Skip to end of metadata
Go to start of metadata

Logging System

XFire uses Commons Logging to provide you with debugging information. If you are having problems probably the first thing you'll want to do is turn up the debugging to DEBUG level. Here's a sample log4j.properties file which will do that:

You may want to tweak the httpclient categories to actually see the message.

Logging the messages

By virtue of XFire being stax based, it never caches the whole message in memory. However sometimes you need access to the whole message to debug. Turning it on is simple.

If you are  attempting to enable logging on the server side, you need to do the following:

If you are attempting to enable logging on the client side you must unwrap the proxy to access the Client object and then add the handlers to the Client:


Labels
  • None