PrettyPrint With CXF

PrettyPrint With CXF explains about  How to formatting (readable way with whitespace & line breaks) the request and response using CXF framework

For every application logging is vital because it is a must for debugging, CXF framework have in-built feature for enabling logging of request / response 

If you are interested to add logs in separate file using log4j, you can find below article

Configure Log4j with CXF
Apache CXF Logging