This is a blog post where I’ll be collecting some cool Java tricks I keep forgetting about. Logging Enable http client / web services dumping -Dlogging.level.org.apache.http=DEBUG -Dlogging.level.org.springframework.ws.client.MessageTracing=TRACE Testing log messages // setup StringWriter logCapture =…