You could always just have rake log:clear run automatically every so
often using a cronjob. That way you can ignore them, and they won''t
get
too big.
For info on cronjobs:
http://www.aota.net/Script_Installation_Tips/cronhelp.php3
http://www.railsenvy.com/2007/6/11/ruby-on-rails-rake-tutorial#do_stuff
The second link is actually mostly about rake tasks, but its got a great
example of how to run a rake task with a cronjob.
Of course, there''s probably some better solution than mine, which
I''m
sure someone else will post :)
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---