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

Posted by 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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.