Put request logging into its own class