You should be able to put:

*config.log_level = :debug*

into your config/environments/production.rb file.

Be advised though, this is turned off in production for reasons of
performance, and it shouldn't be used all the time.

On Mon, Feb 14, 2011 at 11:44 AM, loganathan sellappa <loganathan.ms@
gmail.com> wrote:

> Hi,
>
> SQL logging is  working in development environment,but it doesnt in
> production environment ,can anybody help me
>
>
> Thanks&Regards,
> Loganathan.s
>
>  --
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to