I know that I can enable sql logging in production by doing this:
config.log_level = :debug
But this will also print information like
each' app/views/home/_homepage_extra.rhtml:5:in _run_rhtml_47app47views47home47_h
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?