David, If you're using Rails 3, check out http://github.com/mooman/rails3_sequel, which hopefully does what you're looking for.
it basically just intercepts Sequel logging and let Rails handle Rails logging messages (which for SQL statements is done in debug level), but leaves other loggers alone. On May 27, 6:04 pm, David Lee <[email protected]> wrote: > Is there a way to change the log level at which sequel logs all its > queries? Right now, all queries are logged at the "info" level. > > In Rails, I want to set Sequel's log level to "debug" in the > production environment (which only accepts "info" and higher), so that > SQL queries are not logged. -- You received this message because you are subscribed to the Google Groups "sequel-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/sequel-talk?hl=en.
