I have my normal rails application and also a ruby file that does
thumbnailing. The thumbnailer is run as a seperate process and I want to
give it its own log file (it periodically grabs jobs from the database,
generating a lot of sql in my development.log file).  I''ve tried
setting
logger = Logger.new ("file.log") at the start of the thumbnailer code,
and when I log messages they go to that file, but the SQL logging still
goes to development.  Is there any way to set things up so the SQL and
logging from the thumbnailer goes to it''s own log file?
-John
-- 
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
-~----------~----~----~----~------~----~------~--~---