Neeraj Kumar
2007-Jul-18 04:28 UTC
only sql logging is needed in production not other information
Hi, I know that I can enable sql logging in production by doing this: config.log_level = :debug But this will also print information like app/views/home/_homepage_extra.rhtml:7:in `_run_rhtml_47app47views47home47_h omepage_extra46rhtml'' app/views/home/_homepage_extra.rhtml:5:in `each'' app/views/home/_homepage_extra.rhtml:5:in `_run_rhtml_47app47views47home47_h omepage_extra46rhtml'' app/views/layouts/layout_eii.rhtml:66:in `_run_rhtml_47app47views47layouts47 layout_eii46rhtml'' I don''t want all that. All I want is production log to behave the way it works in default mode . The only extra thing I desire is the logging of sql statements. How do I accomplish that? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---