sql_log_level did it, thanks much! ________________________________ From: Jeremy Evans <[email protected]> Sent: Tuesday, July 28, 2015 11:18:08 AM To: sequel-talk; Marc Miles Cc: Marc Miles Subject: Re: Association queries logged as info level because why?
On Tuesday, July 28, 2015 at 10:55:21 AM UTC-7, [email protected] wrote: I have the following models. When I do the following Person.all query, or any other query for that matter nothing is logged unless I set my logger.level to Debug (great!). However, all of the p.groups queries will log to my logger as level Info. Is there a reason for this? Sequel logs all queries at INFO level by default, and queries that raise errors at ERROR level. Unless you set log_warn_duration or sql_log_level, it shouldn't use another level. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
