I got log4j working with the info here: http://www.techper.net/2008/01/30/configuring-cxf-logging-to-go-through-log4j/
I wasn't sure how to setup the META-INF for my war file. I eventually figured out that you need to include a folder called /META-INF/cxf/ with a text file called org.apache.cxf.Logger file in my war file under .../src/java folder. All you need to do then is put name of the class CXF provides that text file. So in org.apache.cxf.Logger file you put the text string "org.apache.cxf.Logger" with out the quotes. Then its just configuring log4j as usual. John-M Baker <[EMAIL PROTECTED]> 03/06/2008 08:49 AM Please respond to [email protected] To <[email protected]> cc Subject CXF logging Hi, What's the best way to turn on debug logging? I'd like to see what XML is being sent from the client and I'm sure that'll be in the debug (well, I hope it is!). I tried a simple log4j.xml file but that iddn't seem to work. Thanks, John Baker -- Web SSO IT Infrastructure Deutsche Bank London URL: http://websso.cto.gt.intranet.db.com --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures.
