-
How to show the SQL query log as development use Rails with ActiveRecord? Following is my config for database. https://github.com/one-in-ten-thousand/production_line_report/blob/master/src/config/database.cr avram works, but without SQL log. Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
jwoertink
Mar 9, 2023
Replies: 2 comments
-
You can set the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zw963
-
It works, but have to set to :debug instead of :info, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can set the
DB::Log.level = :info
and also set the AvramAvram::QueryLog.dexter.configure(:info)
.