djangid / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

Enhance ErrorLoggingFilter to print request #310

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be very nice to enhance the ErrorLoggingFilter with printing the 
request - or at least to be able to configure to do this.

In case of an error I basically want to view both the RequestLoggingFilter and 
ResponseLoggingFilter results. Quite often it's the input which causes the 
issue.

Original issue reported on code.google.com by marceloverdijk on 11 Feb 2014 at 4:24

GoogleCodeExporter commented 8 years ago
And to add to that: The ErrorLoggingFilter should only log request/response if 
test fails.
In case I expect a 4xx and I get it, I don't want it to be logged.

Probably I'm looking for a different / new kind of logger.
Is something like this already available maybe?

Original comment by marceloverdijk on 11 Feb 2014 at 4:32

GoogleCodeExporter commented 8 years ago

Original comment by johan.ha...@gmail.com on 14 Feb 2014 at 6:39

GoogleCodeExporter commented 8 years ago
We'll deal with this in another issue, see issue 212.

Original comment by johan.ha...@gmail.com on 27 Mar 2014 at 6:19