Adding some middleware for writing logs of all requests coming in and out.