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?
on 2007-07-18 06:29