• Post Reply Bookmark Topic Watch Topic
  • New Topic

PayloadLoggingInterceptor and SoapEnvelopeLoggingInterceptor logging response - not line by line  RSS feed

 
Susmitha Metlapalli
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We are using SoapEnvelopeLoggingInterceptor and PayloadLoggingInterceptor for logging request and response .

It logs complete response xml in one line. How can i log response xml tags each in one line .

Please do the needful

Regards,
Susmitha.

 
Susmitha Metlapalli
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can someone provide inputs on this.

Thanks.
 
Paul Clapham
Sheriff
Posts: 22374
42
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instead of trying to manipulate the logging process, wouldn't it be easier to transform the XML into the format you want at the time you process the logs? You didn't say why you needed to have the logs in one format rather than another, and I suspect that what you want might not be possible, so that's what I would suggest.

Although it might help if you explained why this requirement exists -- there might be a different solution to whatever problem that requirement was meant to solve.
 
Susmitha Metlapalli
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we have more than 100 xml tags returned in the response. It is difficult to read the logs and find, if the complete xml is written in one line.

ab

Rather please suggest if it is possible to log response as below.

a
b
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!