added a middleware to dump all requests info into the stdout