Use a logging middleware to log incoming requests