Somehow my rails log files get deleted after some time. The log files do get created properly when I restart my mongrel server. I usually have tail -f on the log files and they function well even after the files don''t exist anymore according to the file system. I use the standard development.log and another other log file that I create as follows: logfile_query = File.open ( "#{RAILS_ROOT}/log/query.log", ''a'' ) logfile_query.sync = true logger_query = StatsLogger.new ( logfile_query ) silence_warnings { Object.const_set "LOGGER_QUERY", logger_query } --~--~---------~--~----~------------~-------~--~----~ 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 groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---