Tracking app for Flask that logs HTTP request and response information in a capped MongoDB collection