adds better request logging