On Wednesday 10 December 2008 12:27:32 pm [EMAIL PROTECTED] wrote: > Hello, > > is it possible to pretty print xml requests/responses which are written to > the log file?
The current Log interceptors operate at the stream level where they can be protocol and format independent. For example, attachments can get logged, if the format is JSON instead of XML, fastinfoset buffers, etc.... They just know raw bytes. It would probably be good to create XMLLogging interceptors that would run after the StaxIn/OutInterceptor that could do what you describe. By operating post StaxIn/Out, things like json/fastinfoset could also be logged as XML. -- Daniel Kulp [EMAIL PROTECTED] http://dankulp.com/blog
