conjur icon indicating copy to clipboard operation
conjur copied to clipboard

Sequel log level is set to :warn

Open jtuttle opened this issue 6 years ago • 1 comments

There's a method in Conjur that runs frequently and generates a lot of SQL query noise in the logs. This becomes an impediment when trying to use the logs for debugging purposes.

I believe we can solve this by setting the default Sequel logging level to :warn in the Sequel initializer like so:

Sequel::DATABASES.each { |d| d.sql_log_level = :warn }

jtuttle avatar Sep 13 '18 14:09 jtuttle

We now print more context on info so DEBUG level is not that much needed as before

Tovli avatar May 11 '21 07:05 Tovli