Rack-log-request is a project mainly written in Ruby, it's free.
Rack Middleware to log on MongoDB request with time elapse
404: Not Found