Closed vanderhoop closed 1 year ago
Hi @vanderhoop
The issue was raised here https://github.com/phoenixframework/phoenix_ecto/issues/152
And we have a fix for this here https://github.com/fuelen/ecto_dev_logger/commit/56f3114c28e0bd3b3863e069a35507e7cce268a0
You have to use newer version of ecto_sql
package.
Gotcha, and thanks for the quick response.
For anyone else coming here with this issue, note that the change needed in ecto_sql
hasn't been released as of today. Based on the changelog, it'll be a part of 3.9 once that's released.
Hello, and thanks again for a great library.
I've just noticed that the 'pending migration check' SQL (example below) is logged before every request in my Phoenix app (in development), which adds quite a bit of unnecessary noise to the logs.
I wondered if this was some sort of configuration issue in my particular app, but I was able to reproduce in a new phoenix app with
ecto_dev_logger
installed/configured.The reproduction repo can be found at https://github.com/vanderhoop/reproduction_of_schema_migrator_sql_logging_issue