Forum: Ferret acts_as_ferret.log too big, how to decrease log level ?

7bc1c1d2b813be5db6ea036a9da0e7ed?d=identicon&s=25 patrick divan (hakita)
on 2009-11-03 12:22
Hello,

I love acts_as_ferret, but acts_as_ferret.log is taking 100s of GB...
I try to decrease the log level, but can not find out how to do that.


In
/usr/lib64/ruby/gems/1.8/gems/acts_as_ferret-0.4.4/lib/acts_as_ferret.rb

I changed
   @@logger.level = ActiveRecord::Base.logger.level rescue Logger::DEBUG
to
   @@logger.level = ActiveRecord::Base.logger.level rescue Logger::ERROR

But does not make anychange.


In /opt/rails/emploirama/config/ferret_server.yml  i did change like
follow
log_level: error

But acts_as_ferret.log keep on logging everything.
Any help would be welcome :)

regards
This topic is locked and can not be replied to.