Dump Request & Response in aah
aah provides easy to use dump/log HTTP request and response into log file, just enable it.
Its not just a dump, Log is readable and very helpful for your Debugging
. You can control dump log by headers, request body, response body, etc.
Note:
- It is not recommended to enable 'Request and Response dump' in
production
profile. It may be impact your application performance. - Keep an eye on
disk usage
when you enable aah server dump. - Dump log is not applicable for Static files delivery and non-readable content types.
Server Dump Log Configuration
Add dump_log
section under the config server
section in the aah.conf
.
Sample Dump of REST API tutorial app
This is just a sample dump log from REST API tutorial.