title: Log use of the default route in rails
body: <p>I am trying to remove the "catch all" or "default" route from a production rails application. I'm interested in maintaining operation while gathering a log of it's usage so that I can replace it with the appropriate hard coded routes.</p>
  
  <p>So, given I have the following default route line in my <code>config/routes.rb</code> file.</p>
  
  <pre><code>match '/:controller(/:action(/:id))'
  </code></pre>
  
  <p>How could I create or retrieve a log of every time that route gets hit. This log would ideally include only requests actually handled by this route along with parameters and would need to leave the route itself functioning as normal.</p>