Saturday, August 27, 2011

[Rails] Full URLs in Rails logs

Hello,

Is it possible to get the full URLs in the logs of a Rails application? Currently I'm getting something like:


Started GET "/" for 127.0.0.1 at 2011-08-27 13:13:10 +0200

but I need to get:


Started GET "http://localhost:3000/" for 127.0.0.1 at 2011-08-27 13:13:10 +0200

because this is an app where the domains are important.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/JdKtp22etg4J.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate