Fix request logging