Hi list,

Rails already generates a request id but I don't see it used anywhere by 
default

One nice place could be Rails::Rack::Logger#started_request_message. The 
log output would then be something like

Started GET "/path" for 127.0.0.1 at 2013-05-23 13:00:29 +0200 
request_id=123456789

This would even be more valuable for debugging when used in conjunction 
with heroku's http_request_id lab's feature (
https://devcenter.heroku.com/articles/http-request-id) and rack-timeout 
latest version (as per now : 0.1.0beta2 :
https://github.com/kch/rack-timeout/tree/v0.1.0beta2)

What do you think ?

PS : Sorry for posting an issue on GH before sending to the ML 
(https://github.com/rails/rails/issues/10736)

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to