Fix "Executing query" spam in log

This commit is contained in:
Alex Ling 2021-08-22 07:34:29 +00:00
parent 995ca3b40f
commit efc547f5b2

View File

@ -34,7 +34,11 @@ class Logger
end
@backend.formatter = Log::Formatter.new &format_proc
Log.setup @@severity, @backend
Log.setup do |c|
c.bind "*", @@severity, @backend
c.bind "db.*", :error, @backend
end
end
def self.get_severity(level = "") : Log::Severity