I'm using jruby and ActiveRecord in  a Swing based application. Until
now I used Rails 2.3.5. Today I migrated to  Rails 3 which seems to
work ok. The only problem I have is that I can no longer use the
ActiveRecord logging. Until now I used the following code to enable
logging:

ActiveRecord::Base.establish_connection(conf["mysql"])

if $global_enable_db_logging
   ActiveRecord::Base.logger = Logger.new(STDERR)
end

 Any ideas how to make this work again ?

Regards
  Roger

-- 
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