-
-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot log evolutions #389
Comments
What about https://www.playframework.com/documentation/2.5.x/ScalaDatabase#How-to-configure-SQL-log-statement? Does that works for you? |
It does not. Is it supposed to? I have this:
Setting any of this to DEBUG or INFO will not log evolutions. |
I think I found root of the problem. Slick evolutions work directly with @jdelafon As workaround, you can try to enable logging in jdbc driver. |
@iref Thanks for digging into it. |
For example, you can add |
With the standard jdbc module in Play, one can log evolutions being applied by adding this to "logback.xml":
Unfortunately it does not work anymore with play-slick. I could not find another logger concerning evolutions in the documentation. I am only running evolutions in tests, on an empty MySQL database - not sure if it matters.
N.B. That one will only log statements after evolutions have already been applied:
The text was updated successfully, but these errors were encountered: