I think that you can change this in your environment files, e.g.,
config/environments/production.rb, using config.log_path. See the
#initialize_logger method in initialize.rb.
But, I wonder whether this is a good idea if you run multiple rails apps on
that machine. If you point more than one of them at /var/log/rails for
logging, all of their logs will run together. Maybe you intend to make
app-specific dirs under /var/log/rails?
Regards,
Craig
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---