On Thursday 23 August 2007, Kaleb Walton wrote:
> Also, it looks like CXF uses Java's Logging implementation, however, I
> cannot seem to get it to log anywhere. Does anyone have any quick
> pointers on how to get that going?

What exactly are you trying to get logged?

The first step is to get the VM to use a logging.properties file.   Set 
the system property:
-Djava.util.logging.config.file=/path/to/file

In the etc directory of our distribution, there is a sample file.   There 
are probably docs on the net about it as well.

The sample sets the default level at "WARNING" so you won't see much.   
If you search/replace WARNING to FINEST, you'll see a TON of more stuff.


All of that still won't log the request/responses.    To do that, you 
would need to enable the logging interceptors for the client/endpoint.    
The hello_world_code_first/src/cxf.xml sample shows that.    Once 
enabled, the buffers would be logged at INFO level.



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to