Hello, I get "Checking plugin..." all the time in the log and would like to disable it. I figure out that it comes from Engines.logger and want to set the logging level to info in stead of debug. How can I do this? Thaks! Franck
on 2008-05-05 09:40
on 2008-07-29 00:28
To minimize engines polluting our logs, we just changed the logger for
the engines plugin like this:
In engines.rb, update the logger method:
def logger
#RAILS_DEFAULT_LOGGER
Logger.new(RAILS_ROOT + "/log/engines.log")
end
And then create an "engines.log" under your /log directory. Now all
engines related logging will be directed to that file instead of your
development.log.
on 2008-07-29 01:01
Probably better to do this: Logger.new(File.join(RAILS_ROOT, "log", "engines.log"))
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
Log in with Google account | Log in with Yahoo account
No account? Register here.